/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


@space-s: 5px;
@space-m: 10px;
@space-l: 20px;

@-webkit-keyframes greenPulse {
  from { background-color: #118fff; }
  50% { background-color: #006DCC; }
  to { background-color: #118fff; }
}

@-moz-keyframes greenPulse {
  from { background-color: #118fff; }
  50% { background-color: #006DCC; }
  to { background-color: #118fff; }
}

@keyframes greenPulse
{
  0% { background-color: #118fff; }
  50% { background-color: #006DCC; }
  100% { background-color: #118fff; }
}

@-webkit-keyframes greenPulseInner {
  from { color: #118fff; }
  50% { color: #006DCC; }
  to { color: #118fff; }
}

@-moz-keyframes greenPulseInner {
  from { color: #118fff; }
  50% { color: #006DCC; }
  to { color: #118fff; }
}

@keyframes greenPulseInner
{
  0% { color: #118fff; }
  50% { color: #006DCC; }
  100% { color: #118fff; }
}

.gradient(@color: #FAFAFA, @start: #FFFFFF, @stop: #F2F2F2) {
  background: @color;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, @start), color-stop(1, @stop));
  background: -ms-linear-gradient(top, @start, @stop);
  background: -moz-linear-gradient(center top, @start 0%, @stop 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr= @start, endColorstr= @stop, GradientType=0); // for IE9-
}

html {
  overflow-y: scroll;
}

html, body {
  height: 100%;
}

wbr {
  display: inline-block;
}

@-moz-document url-prefix() {
input[type="file"] {
  line-height: 25px!important;
}
}

ul.typeahead.dropdown-menu {
  z-index: 3000000 !important;
}

#wrapper {
  min-height: 100%;
}

@footer-height: 100px;

@restart-indicator-color: #FDB82F;

#main {
  overflow: visible;
  padding-bottom: @footer-height;
  min-width: 980px;
}

footer {
  position: relative;
  border-top: 1px solid #e5e5e5;
  padding: 30px 0;
  background-color: #fff;
  color: #666666;
  margin-top: -1 * @footer-height - 1;
  height: @footer-height - 60px;
}

#content {
  padding: 15px 0;
}

@top-nav-bg-color-from: #555555;
@top-nav-bg-color-to: #333333;
@top-nav-brand-color: #ffffff;
@top-nav-ops-count-color: #ffffff;
@top-nav-ops-count-bg-color: #c3c3c3;
@top-nav-menu-active-text-color: #333333;
@top-nav-menu-active-bg-color: #ffffff;
@top-nav-menu-text-color: #c3c3c3;
@top-nav-menu-text-hover-color: #ffffff;
@top-nav-menu-dropdown-border-color: #c3c3c3;
@top-nav-menu-dropdown-bg-color: #ffffff;
@top-nav-menu-dropdown-text-color: #333333;
@default-font-size: 14px;

#top-nav {

  .navbar.navbar-static-top {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    .navbar-inner {
      background-image: -moz-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
      background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@top-nav-bg-color-from), to(@top-nav-bg-color-to));
      background-image: -webkit-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
      background-image: -o-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
      background-image: linear-gradient(to bottom, @top-nav-bg-color-from, @top-nav-bg-color-to);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr= @top-nav-bg-color-from, endColorstr=@top-nav-bg-color-to); //for IE9-
      -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
      box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
      max-height: 40px;
    }

    .logo {
      float: left;
      padding-top: 2px;
      img {
        height: 32px;
      }
    }

    .brand {
      color: @top-nav-brand-color;
      font-size: 16px;
      font-weight: normal;
      line-height: 32px;
      margin-left: 0;
      padding: 2px 5px 0 10px;
      text-shadow: 0 1px 0 #555555;
    }

    .brand.cluster-name {
      margin-left: 10px;

      .label.operations-count {
        background-color: #006DCC;
        -webkit-animation-name: greenPulse;
        -webkit-animation-duration: 1s;
        -webkit-animation-iteration-count: infinite;
        -moz-animation-name: greenPulse;
        -moz-animation-duration: 1s;
        -moz-animation-iteration-count: infinite;
        animation-name: greenPulse;
        animation-duration: 1s;
        animation-iteration-count: infinite;
      }
      .label  {
         padding: 3px 5px 3px;
         color: @top-nav-ops-count-color;
         text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
         background-color: @top-nav-ops-count-bg-color;
       }
      .icon-caret-left {
        color: @top-nav-ops-count-bg-color;
        margin-right: -1px;
        text-shadow: none;
      }
      .ops-count {
        margin-right: -1px;
        color: #006DCC;
        text-shadow: none;
        -webkit-animation-name: greenPulseInner;
        -webkit-animation-duration: 1s;
        -webkit-animation-iteration-count: infinite;
        -moz-animation-name: greenPulseInner;
        -moz-animation-duration: 1s;
        -moz-animation-iteration-count: infinite;
        animation-name: greenPulseInner;
        animation-duration: 1s;
        animation-iteration-count: infinite;
      }

    }
    .top-nav-menu.nav {
      display: block;
      float: right;
      padding-left: 20px;
      overflow: visible;

      li > a {
        text-shadow: none;
        color: @top-nav-menu-text-color;
        text-align: center;
        white-space: nowrap;
      }
      .active > a, .active > a:hover, .active > a:focus {
        color: @top-nav-menu-active-text-color;
        background-color: @top-nav-menu-active-bg-color;
        -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
        -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
        box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
      }
      li > a:focus, li > a:hover {
        color: @top-nav-menu-text-hover-color;
        text-decoration: none;
        background-color: transparent;
      }
      .alerts-count {
        margin: 1px;
      }
      .icon-th {
        font-size: 1.3em;
      }
      //top-nav bar dropdown menu on hover
      li.top-nav-dropdown {
        position: relative;
      }
      .top-nav-dropdown:hover .top-nav-dropdown-menu {
        display: block;
      }
      .top-nav-dropdown-menu {
        display: none;
        position: absolute;
        top: 95%;
        left: 0;
        z-index: 1000;
        float: left;
        min-width: 160px;
        padding: 5px 0;
        margin: 2px 0 0;
        list-style: none;
        background-color: @top-nav-menu-dropdown-bg-color;
        border: 3px solid @top-nav-menu-dropdown-border-color;
        -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding;
        background-clip: padding-box;
        .health-status-LIVE, .health-status-STARTING {
          color: @health-status-green;
        }
        .health-status-DEAD-RED, .health-status-STOPPING {
          color: @health-status-red;
        }
        .health-status-DEAD-YELLOW {
          color: @health-status-yellow;
        }
        .icon-refresh {
          color: #fdb82f;
          margin-left: 4px;
        }
        .label {
          padding: 0 0 0 3px;
        }
        .operations-count {
          background: #953B39;
        }
      }
      .top-nav-dropdown-menu > li{
        position: relative;
      }
      .top-nav-dropdown-menu > li > a {
        text-decoration: none;
        text-align: left;
        padding: 5px;
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 20px;
        color: @top-nav-menu-dropdown-text-color;
        white-space: nowrap;
      }
      .top-nav-dropdown-menu > li.active > a{
        background-color: #e5e5e5;
      }
      .top-nav-dropdown-menu > li > a:hover {
        color: #ffffff;
        background-color: #666666;
        background-image: linear-gradient(to bottom, #666666, #555555);
        background-repeat: repeat-x;
      }
      .top-nav-dropdown-menu > li.disabled > a {
        color: #a9a9a9;
      }
      .top-nav-dropdown-menu > li.disabled > a:hover {
        color: #a9a9a9;
        background-color: @top-nav-menu-dropdown-bg-color;
        background-image: none;
      }
    }
  }

  .navbar .nav {
    float: none;
    overflow: hidden;
  }

  .navbar-inner {
    min-height: 40px;
    border: none;
  }

  .top-nav-user {
    float: right;
  }
  .navbar .nav .top-nav-user .active > a,
  .navbar .nav .top-nav-user .active > a:hover {
    color: #FFFFFF;
    text-decoration: none;
  }

  .navbar .nav .top-nav-user > li > a {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    line-height: 19px;
    margin: 1px 10px 2px 0;
    padding: 7px 14px;
    text-decoration: none;
    text-shadow: none;
  }

  .navbar .nav .top-nav-user > li > a:hover {
    background-color: transparent;
    color: #999999;
    text-decoration: none;
  }

  .navbar .nav .top-nav-user > li.right {
    float: right;
  }
}

.row-fluid .tinyoffset {
  margin-left: 3%!important;
}
.row-fluid .tinyspan {
  width: 2%!important;
  *width: 1.95%!important;
}

.page-bar {
  border: 1px solid #E4E4E4;
  color: #7B7B7B;
  text-align: right;
  font-size: 12px;
  label {
    font-size: 12px;
  }
  div {
    display: inline-block;
    margin:0 10px;
  }
  .filtered-info, .selected-hosts-info {
    text-align: left;
    margin-top: 8px;
    margin-left: 17px;
  }
  .items-on-page {
    label {
      display:inline;
    }
    select {
      margin-bottom: 4px;
      margin-top: 4px;
      width:70px;
      font-size: 12px;
      height: 27px;
    }
  }
  .paging_two_button {
    a.paginate_disabled_next, a.paginate_disabled_previous {
      color: gray;
      &:hover {
        color: gray;
        text-decoration: none;
        cursor: default;
      }
    }

    a.paginate_next, a.paginate_previous {
      &:hover {
        text-decoration: none;
        cursor: pointer;
      }
    }
    a {
      padding:0 5px;
    }
  }
}

.hidden-scroll {
  overflow-y: hidden;
}

#version-mismatch-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0px 10px 0px;
}

#main-nav {

  li {
    font-size: 15px;
    border-left: 1px solid #fefefe;
    border-right: 1px solid #f0f0f0;
    text-align: center;
  }
  li.span2 {
    padding: 0;
    margin: 0;
    width: 140px;
  }

  li:first-child {
    border-left: none;
    a {
      border-radius: 4px 0 0 4px;
    }
  }

  .navbar-inner {
    padding-left: 0;
  }

  margin-bottom: 15px;
}

.pre-scrollable {
  overflow-y: auto;
}

@green: #69BE28;
@blue: #0572ff;

h1 {
  color: @green;
}

.login.well.span4 {
  margin: 20px auto;
  padding: 25px;
  float: none;
}

.login {
  h2 {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .btn {
    margin-top: 15px;
  }
}

.hide {
  visibility: hidden;
}

.show {
  visibility: visible;
}
/************************************************************************
* Health status(service/host/host component health)icon colors
***********************************************************************/
@health-status-red: red;
@health-status-green: #5AB400;
@health-status-yellow: #FFD13D;
@health-status-orange: #FF8E00;
/************************************************************************
* Health status(service/host/host component health)icon colors ends
***********************************************************************/

/***************
 * Ambari wide icon colors
 ***************/
.icon-ok {
  color: #5AB400;
}

.icon-warning-sign {
  color: #FDB82F;
}

.icon-empty {
  height: 21px;
  display: inline-block;
  width: 8px;
}

.icon-caret-right {
  min-width: 8px;
  padding-top: 2px;
}

.icon-caret-left {
  min-width: 8px;
  padding-top: 2px;
}

.icon-remove {
  color: #FF4B4B;
}

.icon-remove-sign {
  color: #FF4B4B;
}

.icon-question-sign {
  color: #999;
}

.icon-exclamation-sign {
  color:#B94A48;
}

.tooltip {
  z-index: 10000;
}

.tooltip-inner {
  text-align: left;
  max-width: 400px;
  overflow-wrap: break-word;
  white-space:pre-wrap;
}

.popover {
  z-index: 1050;
  min-width: 200px;
  max-width: 350px;
  width: auto;
  .popover-inner {
    word-wrap: break-word;
  }
}

.arrow-right {
  cursor: pointer;
  display: inline-block;
  margin: 0 0 20px 70px;
  border-top: 70px solid transparent;
  border-bottom: 70px solid transparent;
  border-left: 20px solid transparent;
}

.arrow-left {
  cursor: pointer;
  display: inline-block;
  margin: 0 -10px 20px 3px;
  border-top: 70px solid transparent;
  border-bottom: 70px solid transparent;
  border-right: 20px solid transparent;
}


.arrow-up {
  cursor: pointer;
  display: inline-block;
  border-left: 70px solid #dedede;
  border-bottom: 15px solid #dedede;
  border-right: 70px solid #dedede;
  border-right-color: transparent;
  border-left-color: transparent;
}

.arrow-down {
  cursor: pointer;
  display: inline-block;
  border-left: 70px solid #dedede;
  border-top: 15px solid #dedede;
  border-right: 70px solid #dedede;
  border-right-color: transparent;
  border-left-color: transparent;
}

.visibleArrow {
  border-right-color: #dedede;
  border-left-color: #dedede;
}

.text-tooltip {
  border-bottom: 1px silver dotted;
  cursor: pointer;
}

.wizard {
  h2 {
    margin-top: 0;
  }
  .btn.btn-success {
  /* float: right; */
  }
  .btn-extra-info{
    padding-top: 6px;
    padding-right: 15px;
  }
  .btn-area {
    margin-top: 20px;
  }
  .wizard-content {
    padding: 25px;
    background-color: #fff;

  }
  .nav-header {
    font-size: 13px;
    padding-left: 0;
  }
  #installOptions {
    .sshKey-file-view {
      width: 486px;
      height: 200px;
      overflow-y: auto;
      border: 1px solid #ccc;
      margin-top: 5px;
      padding: 8px;
      font-family: Consolas, "Liberation Mono", Courier, monospace;
    }
    .sshKey-file-view.disabled {
      background-color: #eee;
    }
    .manual-install {
      margin-top: 10px;
      width: 504px;
      height: auto;
    }
    .ssh-user {
      margin-right: 10px;
      padding-top: 5px;
    }
    #targetHosts {
      .target-hosts-input {
        padding-left: 18px;
      }
    }
    .span6 {
      min-width: 504px;
    }
    #hostConnectivity {
      margin-top: 20px;
      .control-group {
        margin-bottom: 0;
      }
    }
    .advancedOptions {
      margin-top: 20px;
      margin-bottom: 30px;
      label {
        margin-bottom: 10px;
      }
      label.disabled {
        color: #ccc;
      }
    }
    .java-home {
      margin-bottom: 10px
    }
    .ssh-key-input {
      padding-left: 18px;
    }
    .ssh-key-input-indentation {
      margin-bottom: 5px;
    }
    #sshKey {
      color: #000000;
      font-family: "Courier New","courier";
      font-size: 0.9em;
    }
    input[type="radio"]:focus {
      outline: none;
    }
  }
  #confirm-hosts {
    table {
      margin-bottom: 0;
      th {
        input[type="checkbox"] {
          //fixes height discrepencies in IE
          margin-bottom: -1px;
          margin-top: -1px;
        }
      }
      .tinyspan {
        width: 2%;
      }
    }
    .box-header {
      padding: 0px 4px 0px 10px;
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #e5e5e5));
      background: -ms-linear-gradient(top, #ffffff, #e5e5e5);
      background: -moz-linear-gradient(center top, #ffffff 0%, #e5e5e5 100%);
      .btn-primary {
        margin-top: 3px;
      }
    }

    #host-filter {
      margin-top: 1px;
      ul {
        margin: 3px;
        font-size: 12px;
        li.filter-status.active a {
          text-decoration: none;
          color: #FFFFFF;
        }
        li.filter-status.active,
        li.filter-status.active:hover {
          background-color: #666666;
          -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          -webkit-border-radius: 5px;
          -moz-border-radius: 5px;
          border-radius: 5px;
        }
        li.filter-status:hover {
          background-color: #d8d8d8;
          -webkit-border-radius: 5px;
          -moz-border-radius: 5px;
          border-radius: 5px;
        }
        li.divider {
          color: #666666;
          padding: 4px 2px;
        }
        li {
          list-style: none;
          display: block;
          float: left;
          padding: 4px 4px;
          a {
            text-decoration: underline;
          }
        }
        li.first {
          font-weight: bold;
        }
      }
    }
    .progress {
      margin-bottom: 0;
    }
    #confirm-hosts-table {
      td.host {
        max-width: 290px;
      }
      td.host .trim_hostname {
        max-width: 97% !important;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        float:left;
        white-space: nowrap;
      }
    }
  }
  #step4, #step5, #step6 {
    a.selected {
      color: #333;
      cursor: default;
      text-decoration: none !important;
    }
    a.deselected {
    }
    i.icon-asterisks {
      color: #00688B;
    }
  }
  #step6 {
    a.remove-link {
      text-decoration:none;
      pointer-events: none;
      color:black;
      cursor: default;
    }
    .pre-scrollable {
      max-height: 440px;
      position: relative;
      #component_assign_table {
        tbody td, th {
          white-space: nowrap;
        }
        .trim_hostname {
          max-width: 180px;
          float:left;
          white-space: nowrap;
          display: block;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
    }
    .spinner-overlay {
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: #808080;
      opacity: 0.2;
    }
  }
  #deploy {
    .pre-scrollable {
      max-height: 750px;
    }
    #overallProgress {
    }
    .box-header {
      padding: 0px 4px 0px 10px;
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #e5e5e5));
      background: -ms-linear-gradient(top, #ffffff, #e5e5e5);
      background: -moz-linear-gradient(center top, #ffffff 0%, #e5e5e5 100%);
      .btn-primary {
        margin-top: 3px;
      }
    }
    table {
      margin-bottom: 0px;
    }
    #host-filter {
      margin-top: 1px;
      ul {
        margin: 3px;
        font-size: 12px;
        li.filter-status.active a {
          text-decoration: none;
          color: #FFFFFF;
        }
        li.filter-status.active,
        li.filter-status.active:hover {
          background-color: #666666;
          -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          -webkit-border-radius: 5px;
          -moz-border-radius: 5px;
          border-radius: 5px;
        }
        li.filter-status:hover {
          background-color: #d8d8d8;
          -webkit-border-radius: 5px;
          -moz-border-radius: 5px;
          border-radius: 5px;
        }
        li.divider {
          color: #666666;
          padding: 4px 2px;
        }
        li {
          list-style: none;
          display: block;
          float: left;
          padding: 4px 4px;
          a {
            text-decoration: underline;
          }
        }
        li.first {
          font-weight: bold;
        }
      }
    }

    #deploy-status-by-host {
      margin-bottom: 0;
      th.host {
        width: 40%;
      }
      th.status {
        width: 22%;
      }
      th.messgage {
        width: 35%;
      }
      td.host {
        max-width: 290px;
      }
      td.host .trim_hostname {
        max-width: 97% !important;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        float:left;
        white-space: nowrap;
      }
      .progress-bar {
        width: 73%;
        .progress {
          margin-bottom: 0;
        }
      }
      .progress-percentage {
        margin-left: 5px;
        width: 20% - 10px;
      }
    }
  }
  #step14 {
    .item {
      line-height: 30px;
      i {
        font-size: 20px;
      }
    }
    .row {
      margin-left: 0;
    }
  }
  #ha-progress-page {
    .item {
      line-height: 40px;
      width:100%;
      float:left;

      i {
        font-size: 20px;
      }
      .not-active-link{
        color: #999;
        a{
          text-decoration: none;
          pointer-events: none;
          color: #999;
          cursor: default;
        }
      }
      .active-link{
        a{
          pointer-events: auto;
          color: #0088cc;
          cursor: pointer;
        }
      }
      .active-text{
        a{
          pointer-events: none;
          text-decoration: none;
          color: #0088cc;
          cursor: auto;
        }
      }
      .retry {
        cursor: pointer;
        margin-left: 15px;
        i {
          font-size: 14px;
        }
      }
      .pull-left{
        float: left;
      }
      .progress-bar{
        margin-top: 10px;

        .progress{
          margin-bottom: 0px;
        }
      }

    }
    .row {
      margin-left: 0;
    }
  }
  #ha-step1, #ha-step4, #ha-step8 {
    .alert.alert-warn {
      margin-top: 10px;
      margin-bottom: 10px;
    }
    .nameserviceid-input {
      display: inline-block;
    }
  }

  #ha-step4 li, #ha-step6 li, #ha-step8 li {
    margin-top: 8px;
  }

  #ha-step3-review-table {
    td {
      text-align: left;
      vertical-align: top;
      padding: 5px;
      ul {
        margin: 0px;
      }
      li {
        list-style-type: none;
      }
    }
    .to-be-disabled-red {
      color: #ff0000;
    }
    .to-be-installed-green {
      color: #008000;
    }
  }
}

#stack-upgrade {
  .content {
    padding: 25px;
    background-color: #fff;
  }
  .box {
    padding: 5px;
  }
  table th {
    vertical-align: middle;
  }
  .btn-area {
    margin-top: 30px;
  }
  .service {
    .info {
      line-height: 30px;
    }
  .row {
    margin-left: 0;
  }
  }
}

.spinner {
  width: 36px;
  height: 36px;
  background: url("/img/spinner.gif");
  margin: 0 auto;
}

.services-host-menu {
  margin-top: 20px;
  padding: 8px 0;
}

#summary-restart-bar {
  margin-top: 20px;
  .alert{
    .icon-refresh{
      margin-left:10px;
      color: #fdb82f;
    }
  }
  .dropdown-menu > li > a:hover {
    text-shadow: none;
  }
}

#serviceConfig {
  margin-top: 20px;
  .alert{
    .icon-refresh{
      margin-left:10px;
    }
  }
  .collapsable {
    cursor: pointer;
  }
  .directories {
    min-width: 280px;
  }
  .accordion-heading {
    background-color: #f0f0f0;
  }
  .accordion-group {
    margin-bottom: 20px;
    .control-label {
      text-align: left;
      word-wrap: break-word;
    }
    .service-config-section{
      .overridden-property{
        background-color: rgba(211, 237, 247, 0.39);
        padding: 5px;
        margin-left: -5px;
      }
      .checkbox.inline {
        vertical-align: baseline;
        &>.ember-checkbox{
          margin-left: -14px;
        }
      }
    }
    .entry-row {
      margin: 10px 0;
      .control-label-span{
        width: auto !important;
      }
      .icon-lock {
        color: #008000;
      }
      a.btn[disabled],
      a.btn[disabled] [class^="icon-"], a [class*=" icon-"] {
        cursor: not-allowed;
      }
      .action{
        margin-left: 3px;
        margin-right: 1px;
        font-size: 13px;
        white-space: nowrap;
      }
      .control-group {
        margin: 0px;
        .overrideField {
          display: block;
          margin-top: 5px;
          margin-bottom: 5px;
        }
        .overridden-hosts-view {
          display: inline-block;
        }
        .error {
        }
        &>.ember-checkbox{
          margin-bottom: 5px;
        }
      }
    }
    form {
      margin-bottom: 0;
    }
  }
  .badge {
    margin-left: 4px;
  }
  .slave-component-group-menu {
    float: left;
    .nav {
      margin-bottom: 10px;
    }
    .nav li {
      position: relative;
      a {
        padding-right: 24px;
      }
      .icon-remove {
        border: 1px solid white;
        position: absolute;
        right: 7px;
        top: 10px;
        z-index: 2;
        cursor: default;
        color: #555555;
      }
      .icon-remove:hover {
        border: 1px solid grey;
      }
    }
  }
  .remove-group-error {
    display: none;
  }
  .add-slave-component-group {
    margin-bottom: 10px;
  }
  .master-host, .master-hosts, .slave-hosts {
    padding-top: 5px;
    line-height: 20px;
  }
  #attention {
    margin: 20px 0;
  }
  .retyped-password {
    margin-left: 14px;
  }
  #slave-hosts-popup {
    ul {
      list-style-type: none;
    }
  }
  .common-config-category {
    .action {
      cursor: pointer;
    }
    .icon-plus-sign {
      color: #5AB400;
      margin-right: 2px;
    }
    .icon-minus-sign {
      color: #FF4B4B;
      margin-right: 2px;
    }
    .icon-undo {
      color: rgb(243, 178, 11);
      margin-right: 2px;
    }
    .btn-final{
      background: none repeat scroll 0 0 #fff;
    }
    .btn-final .icon-lock{
      color: #a6a6a6;
    }
    .btn-final.active .icon-lock {
      color: blue;
    }
    .btn-final.active,
    .btn-final.active[disabled] { //copied from Bootstrap .btn.active
      background-color: #e6e6e6;
      background-color: #d9d9d9 \9;
      background-image: none;
      outline: 0;
      -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
      -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
      cursor: not-allowed;
    }
  }
  .capacity-scheduler {
    .header {
      margin-bottom: 10px;
      .span1 {
        padding-top: 10px;
        font-weight: bold;
      }
    }
    form.form-horizontal {
      margin-left: 20px;
      .control-label-span {
        word-wrap: break-word;
      }
    }
    table tr, svg {
      cursor: pointer;
    }
    .marker {
      margin: 0 5px;
      display: inline-block;
      width: 12px;
      height: 12px;
    }
    #section_label{
      display: none;
      border: 1px solid black;
      padding: 2px 5px;
      position: absolute;
      border-radius: 3px;
      background-color: #f9f9f9;
    }
    .frame{
      position:relative;
      width: 200px;
      height: 200px;
    }
  }
  .nav-tabs > li > a {
    padding-left: 8px;
    padding-right: 8px;
    &.new {
      font-weight: 700;
    }
  }
  .with-unit{
    input{
      width:auto;
    }
    .add-on{
      overflow: hidden;
      max-width:250px;
    }
  }
  .dropdown-menu > li > a:hover {
    text-shadow: none;
  }
  .db-connection {
    .spinner {
      width: 30px;
      height: 30px;
      background-size: 30px 30px;
    }
    .icon-ok-sign, .icon-warning-sign {
      font-size: 27px;
      line-height: 30px;
    }
    .icon-ok-sign {
      color: @health-status-green;
    }
    .icon-warning-sign {
      color: @health-status-red;
    }
    .connection-result {
      font-size: 15px;
      line-height: 30px;
    }
    a.mute {
      color: #333;
      &:hover {
        text-decoration: none;
        color: #333;
      }
    }
  }
}

.running-host-components-table{
  width: 100%;
  margin-top: 10px;
  text-align: left;
  tbody {
    vertical-align: top;
  }
}

a:focus {
  outline: none;
}

@status-live-marker: url("/img/health-status-live.png");
@status-dead-red-marker: url("/img/health-status-dead.png");
@status-dead-orange-marker: url("/img/health-status-dead-orange.png");
@status-dead-yellow-marker: url("/img/health-status-dead-yellow.png");
@status-ok-marker: url("/img/status-ok.jpg");
@status-corrupt-marker: url("/img/status-corrupt.jpg");
@arrow-right: url("/img/arrow-right.png");

/*Rack images*/
@rack-status-live: url("/img/rack-status-live.png");
@rack-status-critical: url("/img/rack-status-critical.png");
@rack-status-dead: url("/img/rack-status-dead.png");
@rack-state-toggler: url("/img/rack-state-toggler.png");
@rack-state-plus: url("/img/rack-state-plus.png");
@rack-state-minus: url("/img/rack-state-minus.png");

/*****start styles for boxes*****/
.box {
  border: 1px solid #D4D4D4;
  margin-bottom: 20px;

  .box-header {
    border-bottom: 1px solid #D4D4D4;
  }
  .box-header,
  .box-footer {
    padding: 4px 4px 4px 10px;
    background: #f5f5f5;
  }
  .box-header:after,
  .box-footer:after {
    content: "";
    display: table;
    clear: both;
  }
  .box-header {
    .btn-group {
      float: right;
    }
    h4 {
      float: left;
      margin: 5px;
      font-size: 15px;
      color: #777;
    }
  }
  .box-footer {
    hr {
      margin: 0px;
    }
  }
}

/*****end styles for boxes*****/

/*****start styles for well *****/
.well {
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
/*****end styles for well *****/


/*****start styles for table*****/
.table-bordered {
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  thead:first-child tr:first-child th:first-child,
  tbody:first-child tr:first-child td:first-child,
  thead:first-child tr:first-child th:last-child,
  tbody:first-child tr:first-child td:last-child {
    -webkit-border-top-left-radius: 0px;
    border-top-left-radius: 0px;
    -moz-border-radius-topleft: 0px;
  }
}
/*****end styles for table*****/

/**********start styles for thumbnail ****************/
.thumbnail {
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
/**********end styles for thumbnail ****************/

/**********start styles for dropdown-menu, accordion-group ****************/
.dropdown-menu,
.dropdown-submenu > .dropdown-menu,
.dropdown-menu-wrap > .dropdown-menu,
.nav-pills .dropdown-menu,
.nav-pills > li > a,
.nav-tabs > li > a,
.accordion-group {
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
}
.dropdown-submenu.submenu-left {
  &> .dropdown-menu-wrap {
    position: relative;
    width: 100%;
    left: -100%;
    &> .dropdown-menu {
      position: absolute;
      top: 0px;
      right: -10px;
      margin-top: -32px;
    }
  }
  &:hover {
    .dropdown-menu {
      display: inline-block;
    }
  }
}



/*90% width modal window start*/
.full-width-modal {
  .modal {
    .modal-body {
      div.error{
        color: #b94a48;
        .help-inline{
          color: #b94a48;
        }
      }

      div.error input{
        border-color: #b94a48;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
      }
      .add-cluster-1{
        width: 100%;
        height : 500px;
        margin: 0 auto;

        .each-row{
          margin-top: 10px;
        }

        .add-cluster-1-1{
          width: 100%;
          height : 100%;
          float: left;
        }
        .add-cluster-1-3{
          width: 45%;
          height : 100%;
          float: left;
        }
        .add-cluster-1-2{
          width: 10%;
          height : 100%;
          float: left;

          .add-cluster-1-2-1{
            width: 100%;
            height : 40%;
          }
          .add-cluster-1-2-2{
            width: 100%;
            height : 10%;
          }
          .add-cluster-1-2-3{
            width: 100%;
            height : 50%;
          }
          .middle-line{
            width : 2%;
            margin : 0 auto;
            height : 100%;
            background-color: #000000;
          }
          .add-cluster-center-most-div{
            height : 30%;
            text-align: center;
            position: relative;
            top: 30%;
          }
        }
      }



    }
  }

  .clear {
    clear: both;
  }
  > div > .dataTable {
    border: 1px solid silver;
    th {
      border-top: none;
    }
  }
  .content {
    padding: 0;
  }

//fix stripped in inner table
  .table-striped tbody tr:nth-child(odd)
  td .table-striped tbody
  tr:nth-child(odd) td,
  tr:nth-child(even) th {
    background-color: none;
  }

}

/*90% width modal window end*/

/*700px width modal window start*/
.modal-690px-width {
  .modal {
    width: 690px;
    margin: 0 0 0 -345px;
    max-height: 544px;
    top: 5%;
  }

  .modal-body {
    max-height: 403px;
  }
}
/*700px width modal window end*/

/*60% width modal window start*/
.sixty-percent-width-modal.hideCloseLink{
  .modal-header{
    .close{
      display:none
    }
  }
}
.sixty-percent-width-modal-edit-widget {
  .modal {
    width: 60%;
    margin: 0 0 0 -30%;
    max-height: 544px;
    top: 5%;
  }
  .modal-header{
    min-width: 650px;
  }
  .modal-footer{
    min-width: 650px;
  }

  .modal-body {

    max-height: 403px;
    min-width: 650px;

    #slider-range {
      margin-top: 40px;
      margin-bottom: 20px;
      margin-left: 38px;
      max-width: 630px;
      max-height: 15px;
    }
    #min-height-limit .span9{
      min-height: 15px;
    }
    #min-height-limit .progress{
      margin-left: 40px;
      .bar-success {
        background-image: linear-gradient(to bottom, #95b000, #95a800);
        background-repeat: repeat-x;
        filter: progid:dximagetransform.microsoft.gradient(startColorstr='#95b000', endColorstr='#95a800', GradientType=0);
      }
      .bar-warning {
        background-image: linear-gradient(to bottom, #FF9E00, #FF8E00);
        background-repeat: repeat-x;
        filter: progid:dximagetransform.microsoft.gradient(startColorstr='#FF9E00', endColorstr='#FF8E00', GradientType=0);
      }
      .bar-danger {
        background-image: linear-gradient(to bottom, #B81000, #B80000);
        background-repeat: repeat-x;
        filter: progid:dximagetransform.microsoft.gradient(startColorstr='#B81000', endColorstr='#B80000', GradientType=0);
      }
    }

    .value-on-slider{
      max-height: 100px;
      margin-bottom: 40px;
      margin-top: 10px;
      text-align: center;
    }
    #slider-value1{
      max-width: 65px;
    }
    #slider-value2{
      max-width: 250px;
    }
    #slider-value3{
      max-width: 250px;
    }
    #slider-value4{
      max-width: 65px;
    }
    .slider-error{
      color: #b94a48;
      .help-inline{
        color: #b94a48;
      }
    }
    .slider-error input{
      border-color: #b94a48;
      -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
      -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    }
  }
}
.sixty-percent-width-modal {

  .modal {
    width: 60%;
    margin: 0 0 0 -30%;
    max-height: 563px;
    min-width: 590px;
    top: 5%;
  }
  .long-popup-list {
    height: 280px;
    overflow: auto;
    width: 100%;
  }
  .modal-footer {
    #footer-checkbox {
      text-align: left;
      padding-top: 3px;
      margin-left: 22px;
      float: left;
      .checkbox {
        margin: 0px;
      }
    }
  }

  .modal-body {

    max-height: 403px;

.form-horizontal{


.add-cluster-1{
width: 100%;
height : auto;
min-height : 350px;
margin: 0 auto;

.each-row{
margin-top: 10px;
}

.add-cluster-1-1{
  width: 100%;
  height : 100%;
  float: left;
  div.error{
    color: #b94a48;
    .help-inline{
      color: #b94a48;
    }
  }

  div.error input{
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  }
}
.add-cluster-1-3{
  width: 45%;
  height : 100%;
  float: right;
}
.add-cluster-1-2{
  width: 10%;
  height : 100%;
  float: left;

  .add-cluster-1-2-1{
    width: 100%;
    height : 40%;
  }
  .add-cluster-1-2-2{
    width: 100%;
    height : 10%;
  }
  .add-cluster-1-2-3{
    width: 100%;
    height : 50%;
  }
  .middle-line{
    width : 2%;
    margin : 0 auto;
    height : 100%;
    background-color: #000000;
  }
  .add-cluster-center-most-div{
    height : 30%;
    text-align: center;
    position: relative;
    top: 30%;
  }
}
}

.add-cluster-2{
margin : 0 auto;
height : auto;
min-height : 350px;
table{
width : 60%;
margin : 0 20%;

.spacer{
  height: 20px;
}

tr.error{
  color: #b94a48;
  .help-inline{
    color: #b94a48;
  }

  input{
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  }
}

td {
  width : 50%;
  a.btn-success{
    margin-left: 30%;
  }
}

}

}


.add-data-set{
width: 80%;
margin: 0 auto;
table{
width: 100%;
}
tr.error{
color: #b94a48;
.help-inline{
  color: #b94a48;
}
}

div.error{
color: #b94a48;
.help-inline{
  color: #b94a48;
}
}

div.error input{
border-color: #b94a48;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

td.percent25 {
width: 25%;
}
td.spacer{
height: 10px;
}
td{
.btn-group{
  display : inline;
  span.caret{
    float : right;
  }
  ul.dropdown-menu{
    margin-top:15px;
  }
}
.ember-view{
  display : inline;
}

}

input.hyper-mini{
width: 20px;
}

.targetClusterDD{
min-width : 170px;
}

}
.each-row{
margin-top: 10px;
}
.each-row.control-label{
float:left;
clear:both;
}
.override-controls{
.icon-ok-sign {
color: #5AB400;
}
#filter-dropdown-div {
.dropdown-menu {
  right: 0;
  left: auto;
}
}
#component-dropdown-div {
vertical-align: top;
padding-left: 5px;
.dropdown-menu {
  right: 0;
  left: auto;
}
}
.input-append{
input{
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}
.btn-group{
  display: inline-block;
  margin-left: -1px;
  .btn{
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
  }
}
}
.hosts-table-container{
  width:100%;
  height: 225px;
  max-height: 225px;
  overflow: auto;
  border: 1px solid #eee;
}
table{
th {
  background-color: #d9edf7;
}
margin: 0 auto;
}
.message{
color: #777;
}
}
.control-label{
width:auto;
}
.overrideSelectBox {
width:100%;
}
}
}

  .clear {
    clear: both;
  }
  > div > .dataTable {
    border: 1px solid silver;
    th {
      border-top: none;
    }
  }
  .content {
    padding: 0;
  }

//fix stripped in inner table
  .table-striped tbody tr:nth-child(odd)
  td .table-striped tbody
  tr:nth-child(odd) td,
  tr:nth-child(even) th {
    background-color: none;
  }

}

/*60% width modal window end*/

/*****start styles for host component popup*****/
.host-progress-popup {
  .modal-body, .modal-footer, .modal-header {
    min-width: 600px;
  }
  #service-info {
    .log-list-wrap:hover {
      background-color: #e6e6e6;
    }
  }
}
.host-component-popup-wrap {
  .task-top-wrap {
    .operation-name-top {
      width: 33%;
      padding-left: 20px;
      float: left;
      text-align: left;
    }
  }
  #service-info{
    .show-more {
      width: 98.8%;
      min-height: 20px;
      cursor: pointer;
      border-top: 1px solid #CCC;
      text-align: center;
      padding: 10px 10px 10px 0px;
      font-size: 16px;
    }
  }
  #host-info, #service-info{
    overflow: auto;
    max-height: 340px;
    width: 100%;
    &.scheduled{
      max-height: 255px;
    }
    .span2{
      width:20%;
      float: left;
    }
    .host-progress-num{
      float: left;
      padding-left: 8px;
    }
    .host-name-icon-wrap{
      float: left;
      width: 50%;
      white-space: nowrap;
    }
  }
  #host-info, #service-info, #host-log {
    .log-list-wrap {
      padding: 10px 10px 10px 20px;
      border-top: 1px solid #CCC;
      border-bottom: 1px solid #CCC;
    }
    .task-list-line-cursor{
      width: 100%;
      min-height: 20px;
      .progress-bar{
        .progress{
          margin-bottom: 0px;
        }
      }
      .show-details {
        float: right;
        cursor: pointer;
        font-size: 16px;
        i {
          color: #333;
        }
      }
      .operation-name-icon-wrap {
        float: left;
        width: 35%;
      }
      .start-time-text {
        margin-left: 5px;
        width: 20%;
        float: left;
      }
      .duration-text {
        margin-left: 5px;
        width: 10%;
        float: left;
      }
      .time-summary {
        padding-left: 0px;
        color: #808080;
        font-size: 12px;
      }
    }
    .task-list-line-cursor:before,.task-list-line-cursor:after {
      display: table;
      line-height: 0;
      content: "";
    }
    .task-list-line-cursor:after {
      clear: both;
    }
  }
}
/*****end styles for host component popup*****/

.sort-wrapper {
  .column-name {
    cursor: pointer;
    padding-right: 18px;
  }
}


/*****start styles for install tasks logs*****/
.task-list-main-warp, .task-detail-info {
  i {
    font-size: 20px;
    vertical-align: middle;
  }
  .pending, .queued {
    color: #999999;
  }
  .in_progress {
    color: #367FE6;
  }
  .completed {
    color: #0EA31C;
  }
  .failed {
    color: #DF5F5F;
  }
  .aborted {
    color: #FF9C09;
  }
  .timedout {
    color: #FF9C09;
  }
}

.task-list-main-warp {

  .task-list-line-cursor {
    cursor: pointer;
  }

  .request-schedule-abort {
    margin-top: 7px;
    .btn {
      margin-top: -5px;
    }
  }

  .task-top-wrap {

    width: 100%;
    border-bottom: 1px solid #CCC;
    text-align: center;
    font-size: 15px;
    padding: 0 0 20px 0;
    height: 20px;

    .task-detail-back-to-hosts {
      float: left;
    }

    .select-wrap {
      float: right;
      margin-top: -8px;
      select {
        width: 140px;
      }
    }

    .tasks-list-select{
      //margin-top: -28px;
    }

    .task-name-top {
      width: 23%;
      padding-left: 20px;
    }
    .start-time-top {
      width: 20%;
      padding-left: 5px;
    }
    .duration-top {
      width: 10%;
      padding-left: 5px;
    }
    .task-name-top,.start-time-top,.duration-top {
      float: left;
      text-align: left;
    }


  }

  #host-log {
    max-height: 340px;
    overflow: auto;
    width: 100%;
    .log-list-wrap {
      padding: 10px 10px 10px 20px;
      border-top: 1px solid #CCC;
      border-bottom: 1px solid #CCC;
      .show-details {
        float: right;
        cursor: pointer;
        font-size: 16px;

        i {
          color: #333;
        }
      }

      .task-list-line-cursor:before,.task-list-line-cursor:after {
        display: table;
        line-height: 0;
        content: "";
      }
      .task-list-line-cursor:after {
        clear: both;
      }
      .operation-name-icon-wrap {
        float: left;
        width: 35%;
      }
      .start-time-text {
        margin-left: 5px;
        width: 20%;
        float: left;
      }
      .duration-text {
        margin-left: 5px;
        width: 10%;
        float: left;
      }
      .time-summary {
        padding-left: 0px;
        color: #808080;
        font-size: 12px;
      }
    }
  }
}

.limited-height {
  max-height: 150px;
  overflow-y: auto;
}

.limited-height-2 {
  max-height: 250px;
  overflow-y: auto;
}

.task-detail-info {
  .task-detail-log-info {
    max-height: 340px;
    overflow: auto;
    width: 100%;
  }
  .task-detail-log-clipboard {
    display: none;
    resize: none;
    overflow: hidden;
  }

  .task-top-wrap {
    width: 100%;
    border-bottom: 1px solid #CCC;
    text-align: center;
    font-size: 15px;
    padding: 0 0 10px 0;

    .task-detail-back {
      float: left;
    }

    .task-detail-log-rolename {
      position: relative;
      left: 0;
      top: 0;
    }
    .task-detail-status-ico {
      content: "";
      margin-top: -4px;
      box-shadow: none;
      margin-bottom: 0px;
      font-size: 24px;
    }

    .task-detail-ico-wrap {
      font-size: 14px;
      float: right;
      a {
        cursor: pointer;
      }
      .task-detail-copy {
        margin-right: 12px;
        float: left;
      }
      .task-detail-open-dialog {
        float: right;
      }
    }
  }
}
.task-detail-log-info {
  .stderr, .stdout {
    line-height: 14px;
    font-size: 11px;
    font-family: monospace;
  }
}

/*****end styles for install tasks logs*****/

/*****start styles for dashboard page*****/

/*start services summary*/
.services {
  margin-left: 0;
  margin-top: 0;
  position: relative;

  .alert{
    padding: 5px;
  }

  .tab-marker-position {
    list-style: none;
    min-height: 20px;
    min-width: 20px;
    margin-left: 6px;
    float: none;
    display: inline;
  }
  .health-status-LIVE, .health-status-STARTING {
    .tab-marker-position;
    color: @health-status-green;
  }
  .health-status-DEAD-RED, .health-status-STOPPING {
    .tab-marker-position;
    color: @health-status-red;
  }
  .health-status-DEAD-ORANGE {
    .tab-marker-position;
    color: @health-status-orange;
  }
  .health-status-DEAD-YELLOW {
    .tab-marker-position;
    color: @health-status-yellow;
  }
  dt {
    text-align: left;
    width: 120px;
  }
  dd {
    margin-left: 145px;
  }
  .like_pointer {
    cursor: pointer;
  }
  .service {
    position: relative;
    margin-top: 10px;
    border-bottom: 1px solid #b8b8b8;
    padding-left: 10px;
    margin-right: 20px;

    .name {
      line-height: 21px;
      margin-left: 0;
      width: 145px;
      a {
        margin-left: 5px
      }
    }
    .summary {
      line-height: 21px;
    }
    .clearfix {
      padding-bottom: 8px;
    }
    .service-body {
      display: none;
      position: relative;
    }
    table.table {
      margin-top: 14px;
      color: #666;
      font-size: 13px; //width: 80%;
      tr > td:first-child {
        padding-right: 10px;
        text-align: right !important;
      }
      th, td {
        padding: 4px;
      }
    }
    .dashboard-mini-chart > div {
      width: 172px;
    }
    .dashboard-mini-chart {
      right: 0;
      float: right;
      top: 7px;
      position: absolute;
      overflow: visible; // for quick links
      text-align: center; //width: 180px;
      height: 200px;
      .dropdown-menu {
        text-align: left;
      }
      .chart-container {
        .chart-x-axis {
          left: 0%;
          width: 100%;
          text-align: left;
        }
      }
      .chartLabel {
        font-size: 11px;
        color: #7b7b7b;
      }
      .chart-legend {
        left: -205px;
        text-align: left;
        top: 0;
        width: 185px;
      }
    }
  }
}

.services, #summary-info {
  .tab-marker-position {
    background-position:  0px 3px;
    background-repeat: no-repeat;
    list-style: none;
    float: left;
    height: 20px;
    width: 20px;
    margin-left: 0;
    display: inline !important;
    float: none !important;
  }
  .STARTING, .STARTED {
    .tab-marker-position;
    color: @health-status-green;
  }
  .STOPPING, .INSTALLED {
    .tab-marker-position;
    color: @health-status-red;
  }
  .UNKNOWN {
    .tab-marker-position;
    color: @health-status-yellow;
  }

  .summary-view-host{
    float: right;
    padding-right: 20px;
    a {
      text-decoration: none;
      &:hover {
        text-decoration: underline;
      }
    }
  }
  .service-summary-component-red-dead {
    color: #ff0000;
    display: inline;
  }
  .service-summary-component-green-live {
    color: #228b22;
    display: inline;
  }
}

#summary-info {
  border-top: none;
  border-collapse: collapse;
  color: #666;
  font-size: 13px;
  .icon-medkit {
    color: black!important;
  }
  tr.component-small {
    font-size: 11px;
  }
  td.summary-label {
    width: 180px;
    text-align: right;
  }
  .upgrade-status-warning {
    color: @health-status-orange;
  }
  tr td:first-child {
    text-align: right;
  }
  a {
    text-decoration: underline;
    &:hover {
      text-decoration: none;
    }
  }
}

#security-stages {
  tr {
    height: 50px;
  }
  td {
    width: 180px;
  }
  .progress-bar {
    width: 50%;
    .progress {
      margin-bottom: 0;
    }
  }
  .progress-percentage {
    margin-left: 10px;
  }
  a.remove-link {
    text-decoration:none;
    pointer-events: none;
    color:black;
    cursor: default;
  }
}

#enable_security {
  .step3 {
    overflow: auto;
    max-height: 500px;
    table td {
      word-break: break-all;
    }
  }
}

.faintText {
  color: #999;
}

.more-stats {
  display: block;
  width: 100%;
  padding: 7px 0;
  text-align: center;
  color: #333333;
  &:hover {
    background-color: #eee;
    color: #333;
    text-decoration: none;
  }
}

/*end services summary*/

/*start alerts summary*/
.alerts {
  margin: 0px;
  max-height: 500px;
  overflow-y: auto;
  li {
    border-bottom: 1px solid #eee;
    list-style: none;
    padding: 5px 5px 5px 5px;
    background-position: 14px 9px;
    background-repeat: no-repeat;
    .date-time {
      float: right;
    }
    p {
      margin-bottom: 2px;
    }
    .container-fluid {
      padding-left: 10px;
      padding-right: 10px;
    }
    .title {
      font-weight: normal;
      font-size: 13px;
    }
    .row-fluid [class*="span"] {
      min-height: 0px;
    }
    .status-icon {
      padding-top: 7px;
    }
    .date-time {
      color: #999;
      font-style: italic;
      font-size: small;
      text-align: right;
    }
    .message {
      font-size: 12px;
      color: #777;
    }
    .serviceLink {
      padding-left: 7px;
    }
  }
  .alert {
    margin: 7px;
  }
}

.go-to {
  float: right;
  background-position: right center;
  background-repeat: no-repeat;
  background-image: @arrow-right;
  padding-right: 40px;
  margin-top: 4px;
}

.modal-graph-line {
  width: 810px;
  margin: -250px 0 0 -405px;
  .modal-body {
    min-height: 420px !important;
    overflow: hidden;
  }
}

/*end alerts summary*/

/*Alerts popup*/
.alertsPopupLinks {
  padding: 20px 40px 0px;
  text-align: right;

  a:first-child {
    float: left;
  }
}

.align-center {
  text-align: center;
}

/*start chart/style graphs*/
.chart-container {
  cursor: pointer;
  cursor: -moz-zoom-in;
  cursor: -webkit-zoom-in;

  &.chart-container-popup {
    cursor: auto !important;
    margin-left: 0;
    overflow: visible;
    width: 650px;
    .chart {
      left: 60px;
      overflow: visible;
      position: relative;
    }
    .chart-y-axis {
      position: absolute;
      top: -15px;
      bottom: 0;
      width: 60px;
    }
    .chart-legend {
      left: 60px;
      top: 245px;
    }
    .x_tick {
      .title {
        margin-top: 35px !important;
      }
    }
  }
  position: relative;
  margin: 20px 15px 0px 15px;

  .chart {
    position: relative;
    z-index: 1;
  }
  .chart-y-axis {
    position: absolute;
    top: 0;
    bottom: 0px;
    width: 100px;
    z-index: 2;
    margin-top: 15px;
  }
  .chart-x-axis {
    position: absolute;
    top: 180px;
    left: 35%;
    width: 30%;
    z-index: 2;
  }
  .x_tick {
    margin-top: 5px;
    .title {
      padding: 0 2px 0 2px;
      opacity: 1 !important;
      top: 148px;
    }
  }
  svg {
    g {
      g:nth-child(1) {
        display: none;
      }
    }
  }
  text {
    font-weight: 700;
    opacity: 1 !important;
  }
  .chart-legend {
    font-family: 'Courier New';
    position: absolute;
    top: 180px;
    z-index: 3;
  }
  .rickshaw_legend {
    background-color: #999 !important;
    li:hover {
      background-color: #999 !important;
    }
  }
  .rickshaw_legend:empty {
    padding: 0;
  }
  .rickshaw_graph {
    .x_tick {
      .title {
        bottom: -6px;
        opacity: 0.75;
      }
    }
  }
  .chart-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 5;
  }
  .chart-title {
    text-align: center;
    font-size: small;
  }
}

.modal-body {
  .show {
    display: inline-block;
  }
  .time-label {
    text-align: center;
  }
}

.mini-chart {
  position: absolute;
  .chart-container {
    width: 130px;
    height: 130px;
  }
}

/*end chart/graph styles*/

/*****end styles for dashboard page*****/

/*Services*/
.services-menu {
  .nav-list {
    .tab-marker-position {
      list-style: none;
      height: 20px;
      width: 20px;
      margin-left: 6px;
      display: inline;
      float: none;
    }
    .health-status-LIVE, .health-status-STARTING {
      .tab-marker-position;
      color: @health-status-green;
    }
    .health-status-DEAD-RED, .health-status-STOPPING {
      .tab-marker-position;
      color: @health-status-red;
    }
    .health-status-DEAD-YELLOW {
      .tab-marker-position;
      color: @health-status-yellow;
    }
    li {
      line-height: 24px;
      a {
        padding: 3px 4px;
        white-space: nowrap;
      }
      .label {
        padding: 0 0 0 3px;
      }
    }

    li.clients {
      a {
        padding-left: 37px;
      }
    }
    .icon-laptop {
      color: #555;
      padding-left: 5px;
    }
    .active {
      .icon-laptop {
        color: #f0f0f0;
      }
    }

  }

  .add-service-button {
    margin: 20px 20px 10px;
  }

  .start-stop-all-service-button {
    margin: 5px 5px 10px 10px;
    text-align: center;
  }
  .operations-count {
    background: #953B39;
  }
  .icon-medkit {
    padding-left:6px;
    color: black!important;
  }
}
.quick-links-wrapper {
  margin-top: -53px;
  position: relative;
  left: 278px;
  .nav-pills.move {
    float: right;
    width:135px;
    &>li {
      position: absolute;
    }
  }
  .dropdown-submenu {
    &> a:after {
      border-left-color: #333;
    }
  }
  .nav li.dropdown.open {
    .dropdown-toggle{
      color: #005580;
      background-color: #eeeeee;
      border-color: #eeeeee;
      -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
      -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    a:hover .caret {
      border-top-color: #005580;
      border-bottom-color: #005580;
    }
    .caret {
      border-top-color: #005580;
      border-bottom-color: #005580;
    }
  }
}

.service-content {
  #summary-info {
    margin-bottom: 0;
  }
}

.service-block {
  margin-top: 20px;
}

.service-configuration {
  padding: 10px;
}

.service-summary {
  background: #F6FAFD;
  .service-block.span8 {
    margin-left: 0;
    border-right: 1px solid #5fa3c3;
  }
  .service-block.span3 {
    padding-left: 0;
  }
  .service-content {
    padding: 5px 0 0 10px;
    .service-links {
      padding: 5px 0;
    }
  }
  h5 {
    color: #0088CC;
    font-size: 14px;
  }
  .service-links {
    padding: 5px 0 10px 0;
  }
  .service-configuration .dl-horizontal {
    dt {
      width: 90px;
      line-height: 19px;
    }
    dd {
      margin-left: 100px;
      line-height: 19px;
    }
  }
}

.service-button {
  text-align: right;
  margin-bottom: 5px;
  margin-top: -55px;
  margin-left: 10px;
  min-height: 30px;
  ul.dropdown-menu {
    li {
      text-align: left;
    }
    a {
      cursor: pointer;
    }
    .icon-play.enabled {
      color: @green;
    }
    .icon-stop.enabled{
      color: red;
    }
  }
}

.summary-metric-graphs {
  [class*="span"] {
    float: left;
    margin-left: 10px;
  }
  .chart-container {
    .chart-x-axis {
      left: 0%;
      width: 100%;
    }
  }
}

.metrics-collapsed-graphs {
  margin-bottom: 10px;
  .accordion {
    .accordion-heading {
      font-size: 15px;
      color: #777;
      font-weight: bold;
      padding: 0;
      .accordion-toggle {
        .icon-caret-toggle:before {
          content: "\f0d7";
        }
        &.collapsed {
          .icon-caret-toggle:before {
            content: "\f0da";
          }
        }
      }
      .btn {
        margin: 3px;
      }
    }
  }
}

/*End Services*/
table.graphs {
  table-layout: fixed;
  width: 100%;
}

/*Dashboard Widgets/heatmaps Start*/
#dashboard-widgets-container{
  > ul.nav.nav-tabs {
    margin-bottom: 10px;
  }
  > ul.nav.nav-tabs > li.active > a, .nav-pills > li.active > a {
    padding-right: 18px;
  }
  #widgets-options-menu {
    position: relative;
    top: -39px;
    left: 62px;
    width: 15px;
    .dropdown-submenu {
      &> a:after {
        border-left-color: #333;
      }
    }
    .add-widgets-text .dropdown-menu {
      top: 0;
      left: 99%;
      margin-top: -6px;
      margin-left: -1px;
      max-height: 375px;
      overflow: auto;
      width: 210px;
      li {
        display: block;
        padding: 3px 0 3px 5px;
        line-height: 20px;
        ul{
          margin-left: 0px;
        }
        label.checkbox {
          padding-left: 3px;
        }
        input[type="checkbox"] {
          margin: 4px 4px 2px 2px;
        }
      }
      &>li {
        &>ul {
          width: 180px;
          margin-left: 0;
        }
      }
    }
    .add-widgets-text:hover .dropdown-menu {
        display: block;
    }
  }
  .dashboard-widgets-box {
    position: relative;
    top: -20px;
  }
  h4{
    line-height: 30px;
    margin-bottom: 0px;
    margin-top: 0px;
  }
  #dashboard-widgets{
    .caption {
      height: 25px;
    }
    .row-fluid .span2p4 {
      width: 19.60%;
      *width: 19.60%;
    }
    .row-fluid .span4p8 {
      width: 39.55%;
      *width: 39.55%;
    }
    .thumbnails  > div {
      margin-left: 0px;
      margin-right: 3px;
      margin-top: 0px;
      margin-bottom: 7px;
      height: 163px;
    }
    .thumbnails  li {
      height:150px;
      margin-left: 0px;
      margin-right: 3px;
      margin-top: 3px;
      margin-bottom: 0px;
    }

    .thumbnail .corner-icon{
      display: none;
      position: relative;
      .icon-remove-sign{
        color: #000000;
        text-shadow: #fff 0px 0px 15px;
        position: relative;
        left: -13px;
        top: -10px;
      }
      .icon-edit{
        color: #555555;
      }
    }
    .thumbnail .hidden-info-general{
      color: #555555;
      font-size: 12px;
      font-weight: bold;
      text-align: center;
      text-decoration: none;
      display: none;
      position: relative;
      z-index: 7;
    }
    .hidden-info-two-line{
      padding-top: 60px;
    }
    .hidden-info-three-line{
      padding-top: 50px;
    }
    .hidden-info-five-line{
      padding-top: 40px;
      tr > td {
        line-height: 18px;
      }
    }
    .hidden-info-six-line{
      padding-top: 37px;
      tr > td {
        line-height: 16px;
      }
    }
    .thumbnail .caption {
      padding-left: 0px;
      padding-top: 7px;
      padding-bottom: 7px;
      padding-right: 0px;
      color: #555555;
      font-weight:bold;
      font-size: 12px;
      text-align: left;
      position: relative;
    }
    .thumbnail .widget-content{
      text-align: center;
      font-size: 35px;
      padding-top: 40px; //svg
      position: relative;
      .disabled-hdfs-link {
        pointer-events: none;
        color: grey;
        cursor: default;
      }
      .screensaver{ // graph onload wait
        width: 90%;
        height: 105px;
        border: 1px solid silver;
        color: #ffffff;
        background: url(/img/spinner.gif) no-repeat center center;
      }
    }
    .thumbnail .widget-content-isNA{ // for pie chart n\a
      text-align: center;
      font-size: 35px;
      color: #D6DDDF;
      padding-top: 70px;
      font-weight: bold;
      position: relative;
    }
    .thumbnail{
      background-color: #ffffff;
      z-index: 3;
    }
    .has-hidden-info {
      ul {
        margin: 0;
      }
    }
    .has-hidden-info .thumbnail:hover {
      cursor: move;
      //background-color: #d3d3d3;
      .corner-icon{
        display:block;
        text-decoration: none;
        z-index: 9;
      }
      .hidden-info-general{
        display: block;
      }
      .caption{
        margin-left: -6px;
        z-index: 7;
      }
      .slots-caption{
        margin-left: -13px;
        z-index: 7;
      }
      .widget-content{
        top: -104px;
        opacity: 0.3;
        z-index: 5;
      }
      .widget-content-isNA{
        top: -104px;
        opacity: 0.3;
        z-index: 5;
      }
      .uptime-content{
        top: -116px;
      }
      .uptime-content-isNA{
        top: -95px;
      }
      .slots-content-isNA{
        top: -82px;
      }
      .content-hidden-two-line{
        top: -105px;
        opacity: 0.3;
        z-index: 5;
      }
      .content-hidden-three-line{
        top: -116px;
        opacity: 0.3;
        z-index: 5;
      }
      .content-hidden-four-line{
        top: -126px;
        opacity: 0.3;
        z-index: 5;
      }
      .content-hidden-five-line{
        top: -140px;
        opacity: 0.3;
        z-index: 5;
       }
      .content-hidden-six-line{
        top: -143px;
        opacity: 0.3;
        z-index: 5;
      }
    }

    .cluster-metrics .chart-container{
      margin: 0px 10px 0px 10px;
      .chart-y-axis{
        margin-top: 10px;
      }
      .chart svg{
        margin-right: 20px;
      }
      .rickshaw_legend{
        padding-top: 3px;
      }
      .chart-legend {
        top: 120px;
        left:15px;
        text-align: left;
        z-index: 3;
        ul >li{
          max-height: 10px;
        }
      }
    }

    .cluster-metrics > ul {
      margin:0;
    }

    .cluster-metrics .alert {
      padding: 0px;
      font-size: 12px;
    }
    .cluster-metrics .thumbnail:hover{
      cursor: move;
      .corner-icon{
        display:block;
        text-decoration: none;
        z-index: 9;
      }
      .caption{
        margin-left: -6px;
      }
    }
    .links {
      ul {
        margin: 0;
      }
    }
    .links .thumbnail{
      li{
        height:20px;
        margin: 3px;
      }
      .link-button{
        padding-top: 7px;
        padding-left: 70px;
        .disabled-hdfs-quick-link {
        pointer-events: none;
        color: #808080;
        cursor: default;
      }
      }

      .widget-content{
        text-align: center;
        font-weight: none;
        font-size: 11px;
        color: #555555;
        padding-top: 40px;
        table{
          vertical-position: center;
          text-align: center;
          margin-left:auto;
          margin-right:auto;
        }
        td{
          padding-top: 2px;
        }
      }
    }
    .links .thumbnail:hover{
      cursor: move;
      .corner-icon{
        display:block;
        text-decoration: none;
        z-index: 9;
      }
      .caption{
        margin-left: -6px;
      }
    }
    .thumbnail .widget-content .svg {
      position: relative;
    }

    #map-reduce-slots-text{
      padding-left: 5px;
      padding-top: 40px;
      color: #555555;
      font-weight:bold;
      font-size: 10px;
      >ul{
        margin-top:5px;
        margin-bottom: 0px;
      }
      #map-reduce-slots-bar1{
        margin-left: 10px;
      }
      #map-reduce-slots-bar2{
        margin-left: 3px;
      }
      #map-reduce-slots-num1{
        margin-left: 5px;
      }
      #map-reduce-slots-num2{
        margin-left: 5px;
      }
    }

    .is-red{
      .widget-content {
        color: #B80000;
        padding-top: 70px;
        font-weight: bold;
      }
    }
    .is-orange{
      .widget-content {
        color: #FF8E00;
        padding-top: 70px;
        font-weight: bold;
      }
    }
    .is-green {
      .widget-content {
        color: #95A800;
        padding-top: 70px;
        font-weight: bold;
      }
    }
    .is-na {
      position: relative;
      .widget-content {
        color: #D6DDDF;
        text-shadow: none;
        padding-top: 70px;
        font-weight: bold;
      }
    }
  }
}
/*Dashboard Widgets END*/

.dialog-delete-component {
  border: 1px solid #FDB82F;
  border-radius: 4px;
  padding: 4px;
  background: #FFFDF6;
  .warning-details {
    padding-left: 16px;
    padding-top: 5px;
  }
  .warning-list {
    font-size: 0.95em;
    font-style: italic;
  }
}

/*Hosts*/
#hosts {

  .bulk-menu {

    .dropdown-submenu {
      &> a:after {
        border-left-color: #333;
      }
      &> a.disabled:after {
        border-left-color: #ccc;
      }
    }

    a {
      &.disabled {
        color: gray;
      }
    }
  }

  .filters-label {
    display: block;
    float: left;
    padding-right: 10px;
  }

  #hosts-table {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px\9;

    .filter-row {
      th {
        padding: 0px;
        padding-left: 4px;
      }
    }
	thead {
      background: none repeat scroll 0 0 #F8F8F8;
    }
  }

  .hosts-overlay {
    position: absolute;
    opacity: 0.9;
    background-color: #fefefe;
    .spinner {
      display: none;
    }
  }

  .status-dot-position {
    background-position: center;
    background-repeat: no-repeat;
    height: 20px;
    width: 13px;
    display: inline !important;
    float: none !important;
  }
  .health-status-HEALTHY,
  .health-status-LIVE {
    .status-dot-position;
    color: @health-status-green;
    margin-right: 1px;
    margin-left: 1px;
  }
  .health-status-DEAD-RED {
    .status-dot-position;
    color: @health-status-red;
  }
  .health-status-DEAD-ORANGE {
    .status-dot-position;
    color: @health-status-orange;
    margin-right: 1px;
    margin-left: 1px;
  }
  .health-status-DEAD-YELLOW {
    .status-dot-position;
    color: @health-status-yellow;
    margin-right: 1px;
    margin-left: 1px;
  }
  .icon-exclamation-sign,
  .icon-refresh {
    margin-right: 1px;
    margin-left: 1px;
  }

  .passive-state {
    color: #000;
  }
  .alerts-status {
    padding: 1px 6px !important;
    &:before {
      content: "!";
    }
  }
  .host-name-search {
    position: relative;
    top: 0px;
    left: 10px;
  }
  .host-name-pos {
    position: relative;
    top: 10px;
  }
  .box-header {
    margin-left: 0;
    .btn-group {
      float: left;
    }
    .btn.decommission {
      margin-left: 5px;
    }
    .btn.add-host-button {
      margin-bottom: 10px;
      margin-top: -5px;
    }
    .hosts-actions {
      margin-right: 10px;
    }
    .health-status-bar {
      font-size: 0.9em;
      margin-left: 0;
      color: #b4b4b4;
      a {
        text-decoration: none;
      }
      .category-item:hover {
        cursor: pointer;
        a {
          color: #ffffff;
        }
      }
      .active {
        a {
          color: #ffffff;
        }
        background-color: #888888;
        border-color: #888888;
        -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
        box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
      }
      .category-item.active:hover {
        a {
          color: #ffffff;
        }
      }
    }
  }
  .progress {
    margin-bottom: 0;
  }
  .filter-input-width{
    width:68%;
  }
  .table {
    input[type="checkbox"] {
      margin: -2px 0 0 0;
    }
    .col0,.col1,
    td:first-child,
    th:first-child,
    td:first-child + td,
    th:first-child + th{
      padding-left: 4px!important;
      padding-right: 1px!important;
      padding-right: 10px\9!important;
      width: 1.6%;
      width: 13px\9!important;
    }
    .col2,
    td:first-child + td + td,
    th:first-child + th + th{
      width: 30%;
      padding-left: 6px;
      padding-right: 1px;

      .filter-input-width{
        width:90%;
      }
    }
    .col3, .col4,
    td:first-child + td + td + td,
    th:first-child + th + th + th,
    td:first-child + td + td + td + td,
    th:first-child + th + th + th + th{
      padding-left: 1px!important;
      padding-right: 1px!important;
      width: 1.6%;
      width: 13px\9!important;
    }
    .col5,
    td:first-child + td + td + td + td + td,
    th:first-child + th + th + th + th + th {
      width: 11%!important;
    }
    .col6,
    td:first-child + td + td + td + td + td + td,
    th:first-child + th + th + th + th + th + th {
      width: 15%!important;
    }
    .col7,
    td:first-child + td + td + td + td + td + td + td,
    th:first-child + th + th + th + th + th + th + th{
      width: 11%!important;
    }

    .col8,
    td:first-child + td + td + td + td + td + td + td + td,
    th:first-child + th + th + th + th + th + th + th + th{
      width: 11%!important;
    }

    .col9,
    td:first-child + td + td + td + td + td + td + td + td + td,
    th:first-child + th + th + th + th + th + th + th + th + th{
      width: 11%!important;
    }

    .col10,
    td:first-child + td + td + td + td + td + td + td + td + td + td,
    th:first-child + th + th + th + th + th + th + th + th + th + th{
      width: 16%!important;
    }

    td.name {
      overflow: inherit;
      overflow-wrap: break-word;
      white-space: nowrap;
    }
    td.name .trim_hostname{
      display: block;
      float: left;
      width: 93%!important;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    td.health label {
      padding-top: 3px;
    }
    td.health span {
      display: block;
      height: 13px;
      margin: 4px 0 0 0;
      width: 13px;
    }
    td.health .icon-medkit {
      margin: 3px 0 0 0;
    }
    ul.filter-components {
      padding: 5px 0;
      background: #777777;
      color: #ffffff;
      font-weight: normal;
      font-size: 12px;
      label {
        font-size: 12px;
      }
      li {
        display: block;
        padding: 3px 0 3px 5px;
        line-height: 20px;
        label.checkbox {
          padding-left: 3px;
        }
        input[type="checkbox"] {
          margin: 4px 4px 2px 2px;
        }
      }
      li#title-bar {
        text-align: left;
        border-bottom: 1px solid #e4e4e4;
        a.close {
          background: #777777;
          display: inline;
          color: #ffffff;
          padding-left: 35px;
          padding-right: 12px;
          text-shadow: 0 1px 0 #ffffff;
          float: none;
          font-size: 10px;
          opacity: 0.6;
        }
        a.close:hover {
          background: #777777;
          opacity: 1.0;
        }
      }
      li#selector-bar {
        text-align: left;
        border-bottom: 1px solid #e4e4e4;
        font-size: 6px;
      }
      li#list-area {
        font-weight: normal;
        text-align: left;
      }
      li#button-bar {
        text-align: center;
        button {
          font-size: 12px;
        }
      }
      ul {
        margin-left: 10px;
      }
      &>li {
        &>ul {
          height: 150px;
          margin-left: 0;
          overflow-y: scroll;
        }
      }
    }

    div.view-wrapper {
      input[type="checkbox"], .btn-group {
        margin-bottom: 9px;
      }
    }
  }

  .open-group > .dropdown-menu {
    display: block;
  }
  .nav-pills li.disabled {
    display: block;
    margin: 2px 0;
    padding: 8px 12px;
    line-height: 14px;
  }
  .box-footer .footer-pagination {
    float: right;
    .nav {
      margin-bottom: 0;
    }
    .dropdown {
      margin-top: 3px;
    }
    .dropdown {
      margin-top: 3px;
    }
    .dropdown select {
      width: 60px;
    }
    .page-listing a {
      line-height: 0;
      border: none;
      margin: 0;
      margin-right: 10px;
      cursor: pointer;
      color: #0088CC;
      padding: 8px 0;
      float: left;
      text-decoration: underline;
    }
    .page-listing a:hover {
      text-decoration: none;
    }
    .page-listing {
      width: 100px;
      .table {
        th.name {
          width: 300px;
          a.filter-label {
            width: 57px;
            display: block;
            float: left;
          }
        }
      }
    }
  }
  .host-components-expander {
    .icon-caret-right, .icon-caret-down {
      vertical-align: middle;
      margin-right: 5px;
      margin-bottom: 2px;
      text-decoration: none;
    }
  }
  .host-components {
    display: none;
    padding-left: 13px;
  }
}

#host-warnings {
  .notice {
    padding-bottom: 20px;
  }
  .code-snippet {
    margin: 10px 0;
    white-space:normal;
  }
  .warnings-list {
    .block {
      .accordion-heading {
        background-color: #f0f0f0;
      }
      table {
        width: 100%;
        td, th {
          text-align: left;
          padding-left: 15px;
        }
        thead tr:first-child th {
          font-weight: normal;
        }
      }
    margin-top: 10px;
    }
  }
}

.host-checks-update {
  button {
    margin-left: 5px;
  }
  .update-progress {
    width: 230px;
    .progress {
      margin-bottom: 0;
    }
  }
}

#host-details {

  .status-info {
    .host-title {
      font-size: 18px;
      font-weight: 700;
      background-position: 0px center;
      padding-left: 17px;
    }
    .host-maintenance-notice {
      background-color: #E4E4E4;
      border: 1px solid #D4D4D4;
      color: #333333;
      padding: 8px 35px 8px 14px;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
    }
  }

  /*
  .component-operation-button {
    background-color: #E5E5E5;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#E5E5E5), to(#F1F1F1));
    background-image: -webkit-linear-gradient(top, #E5E5E5, #F1F1F1);
    background-image: -o-linear-gradient(top, #E5E5E5, #F1F1F1);
    background-image: linear-gradient(to bottom, #E5E5E5, #F1F1F1);
    background-image: -moz-linear-gradient(top, #E5E5E5, #F1F1F1);
    background-repeat: repeat-x;
    color: #000000;
  }
  */
  .caret {
    border-top-color: #000000;
    border-bottom-color: #000000;
  }

  //hack to apply style only for firefox
  .host-components .btn-group{
   white-space: normal;
  }


  .marker {
    background-repeat: no-repeat;
    display: inline-block;
    height: 13px;
    width: 13px;
    display: inline !important;
    float: none !important;
  }

  .components-health.icon-arrow-up{
    color:red;
  }

  .health-status-started, .health-status-starting {
    .marker;
    color: @health-status-green;
  }

  .health-status-installed, .health-status-stopping {
    .marker;
    color: @health-status-red;
  }

  .health-status-unknown {
    .marker;
    color: @health-status-yellow;
  }

  .health-status-LIVE {
    .marker;
    color: @health-status-green;
  }

  .health-status-DEAD-RED {
    .marker;
    color: @health-status-red;
  }

  .health-status-color-blue {
    color:#0000ff;
  }

  .health-status-color-red {
    color:#ff0000;
  }

  .health-status-DEAD-ORANGE {
    .marker;
    color: @health-status-orange;
  }

  .health-status-DEAD-YELLOW {
    .marker;
    color: @health-status-yellow;
  }

  .back {
    display: block;
    width: 105px;
    margin-bottom: 5px;
  }

  .box-header .host-title {
    margin: 0;
    padding-left: 17px;
  }

  .box-header .button-section {
    margin-bottom: 5px;
  }

  hr {
    margin-bottom: 0;
    clear: both;
  }

  .content {
    padding: 10px;
  }

  .host-configuration .dl-horizontal dt {
    width: 90px;
    line-height: 20px;
  }

  .host-configuration .dl-horizontal dd {
    margin-left: 100px;
    line-height: 20px;
  }

  .host-metrics {
    [class*="span"] {
      float: left;
      margin: 0;
    }
    .chart-container {
      .chart-x-axis {
        left: 30%;
        width: 40%;
      }
    }
  }

  .host-components {
    padding: 10px;
    padding-bottom: 0;
    border-radius: 4px;
    background: #FFF;

    #add_component{
      width: 170px;
      height: 30px;
    }
  }

  .host-components .btn-group {
    margin: 0 5px 10px 0;

    .component-text-status{
      cursor: default;
      display: block;
      padding: 3px 20px;
      clear: both;
      font-weight: normal;
      line-height: 20px;
      color: #333333;
      white-space: nowrap;
      font-style: italic;
    }
  }

  .host-components {
    .dropdown-menu {
      .disabled {
        pointer-events: none;
        color: #808080;
        cursor: default;
      }
    }
  }
}

.services-menu {
  .icon-refresh {
    color: @restart-indicator-color;
    margin-left: 4px;
  }
}
#hosts, #host-details, #serviceConfig {
  .icon-refresh {
    color: @restart-indicator-color;
  }
  .alerts-count {
    margin-left: 0;
  }
}
.background-operations {
  .progress {
    margin-bottom: 5px;
    .bar {
      width: 100%;
    }
  }
  .open-details {
    clear: left;
    display: block;
    float: left;
    text-decoration: none;
    width: 16px;
  }
  .operation-details {
    padding-left: 16px;
    padding-top: 5px;
    display: none;
  }
  margin-bottom: 10px;
}

.background-operations.is-open {
  .operation-details {
    display: block;
  }
}

/*End Hosts*/

/*Start Admin*/
.header {
  margin-bottom: 20px;
}
.admin-cluster {
  a.inactive {
    cursor: default;
    color: #333333;
    text-decoration: none;
  }
}

 .btn-padding {
   margin-left: 20px
 }

.admin-misc {
  .span6 {
    margin-left: 0 !important;
  }
}

.admin-user-settings {
  .checkbox {
    margin: 0px;
  }
}
/*End Admin*/

/* Start Admin Access*/
#access{
  .checkbox{
    margin: 0;
  }
  .acces-values{
    padding-bottom: 15px;
  }
}

.ha-btn {
  margin-left: 0px;
}

.rm-ha {
  margin-top: 20px;
}
/* End Admin Access*/

/*Start About*/
.about {
  .logo {
    width: 20%;
    float: left;
  }
  .content {
    float: left;
    .project {
      font-weight: bold;
      font-size: 2em;
    }
  }
}
/*End About*/

/*assign masters*/

.assign-masters {
  .select-hosts {
    white-space: nowrap;
    .help-block {
      white-space: normal;
    }
  }

  label.host-name {
    padding-top: 5px;
  }

  .round-corners {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
  }

  .remaining-hosts {
    padding: 25px;
    border-top: solid 1px #cccccc;
    border-left: solid 1px #cccccc;
    border-right: groove 5px #cccccc;
    border-bottom: groove 5px #cccccc;
    margin-top: 20px;
    background-color: #FCF8E3;
    color: #C09853;
  }

  .host-assignments .mapping-box {
    border: solid 1px #cccccc;
    padding: 8px;
    margin-bottom: 10px;
    background-color: #fafafa;
  }

  .host-assignments .assignedService {
    padding: 2px 8px;
    border: solid 1px #cccccc;
    margin: 2px;
    background-color: #969696;
    color: white;
    white-space: nowrap;
    font-size: 0.9em;
    display: inline-block;
  }
  .host-assignments .newService {
     padding: 2px 8px;
     border: solid 1px #cccccc;
     margin: 2px;
     background-color: @green;
     color: white;
     white-space: nowrap;
     font-size: 0.9em;
     display: inline-block;
   }

  .host-assignments .grey {
    background-color: #808080;
    border: solid 1px #000000;
  }

  .form-horizontal .controls {
    margin-left: 110px;
  }

  .form-horizontal .control-label {
    white-space: normal;
    width: 120px;
    padding-right: 10px;
  }

  .form-horizontal .control-group select {
    width: 75%;
    min-width: 100px;
    max-width: 250px;
  }


  .hostName {
    word-wrap: break-word!important;
    white-space: normal;
    width: 220px
  }
  .hostString {
    margin-bottom: 5px;
    word-wrap: break-word;
  }

  .badge {
    background-color: @green;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .badge:hover {
    background-color: @green;
  }

  .alertFlag {
    font-size: 1.3em;
    color: #B94A48;
    font-weight: bold;
    vertical-align: middle;
  }
}

/*end assign masters*/

.assign-clients {
  .round-corners {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
  }
  .assignedService {
    padding: 2px 8px;
    border: solid 1px #cccccc;
    margin: 2px;
    background-color: @blue;
    color: white;
    white-space: nowrap;
    font-size: 0.9em;
    display: inline-block;
  }
}

/*Dashboard*/
.alerts-count {
  cursor: pointer;
  margin-left: 5px;
}

ul.filter {
  background: #ffffff;
  list-style: none;
  position: absolute;
  padding: 10px;
}

#main-admin-menu {
  padding: 8px 0;
  .nav-list {
    .tab-marker-position {
      background-position: 6px 5px;
      background-repeat: no-repeat;
      list-style: none;
      float: left;
      height: 20px;
      width: 20px;
      margin-left: 0;
    }
    li {
      line-height: 24px;
      a {
        padding: 3px 20px;
      }
    }
  }
}

#user-auth-method select {
  width: 320px;
}
.host-block {
  margin-top: 20px;
}
/*start charts rack*/
.rack {
  width: 99%;
  display: inline-block;
  vertical-align: top;
  border: 1px solid #D4D4D4;
  margin-right: 4px;
  margin-bottom: 10px;
  margin-top:5px;

  .rackHeader {
    background-color: #F7F7F7;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    padding: 5px 5px 5px 10px;
    border-bottom: 1px solid #D4D4D4;

    .statusName {
      font-size: 15px;
      color: #006F9F;
      text-shadow: #ffffff 0px 0px 1px;
      font-weight: bold;
      vertical-align: top;
    }
    .toggler {
      background-repeat: no-repeat;
      background-image: @rack-state-toggler;
      display: block;
      height: 22px;
      position: relative;
      width: 32px;
      float: right;

      span {
        background-repeat: no-repeat;
        background-image: @rack-state-plus;
        display: block;
        height: 17px;
        left: 7px;
        position: absolute;
        top: 3px;
        width: 18px;
      }

      span.isActive {
        background-image: @rack-state-minus !important;
        top: 10px;
      }
    }
  }
  .hostsSummary {
    border-left: 1px solid #CDCDCD;
    border-right: 1px solid #CDCDCD;
    border-bottom: 1px solid #9f9f9f;
    background-color: #f7f8fa;
    font-size: 12px;
    padding: 4px 0 4px 9px;
    .textBlock {
      color: #000000;
      padding-right: 10px;

      div {
        height: 12px;
        margin: 0 3px 0 0;
        width: 12px;
        display: inline-block;
      }
    }
  }
  .indicatorR {
    background-color: #E2001A;
  }

  .indicatorY {
    background-color: #F29400;
  }

  .indicatorG {
    background-color: #88BF67;
  }
  .statusIndicator {
    display: inline-block;
    width: 20px;
    height: 19px;
    margin-right: 10px;
    margin-top: 4px;
    float: left;
    background-repeat: no-repeat;
  }
  .rackName {
    margin-top: 4px;
    float: left;
  }
  .statusIndicator.LIVE {
    background-image: @rack-status-live;
  }

  .statusIndicator.CRITICAL {
    background-image: @rack-status-critical;
  }

  .statusIndicator.DEAD {
    background-image: @rack-status-dead;
  }

  .hosts {
    padding: 4px;
    overflow: hidden;
    display: none;

    .ember-view {
      float: left;
      width: 100%;
      height: 43px;

      .hostBlock {
        height: 38px;
        position: relative;
        border: 1px solid #D4D4D4;
        margin-right: 3px;
      }
    }
    .hostBlock {
      border-radius: 4px;
    }
    .hostBlock.HEALTHY {
      background-color: #87BE73;
    }
    .hostBlock.UNHEALTHY {
      background-color: #E40024;
    }
    .hostBlock.CRITICAL {
      background: #F39236;
    }
    .ember-view:hover {
    }
  }

  .hosts.isActive {
    display: block;
  }
}

/*Start Heatmap*/
.heatmap {
  #heatmap-metric-title {
    margin-left: 23px;
  }
  .rack.rack-5-2 {
    .hosts {
      height: 86px;
    }
  }
  .rack.rack-5-4 {
    .hosts {
      height: 172px;
    }
  }
  .rack.rack-5-6 {
    .hosts {
      height: 258px;
    }
  }
  .rack.rack-5-8 {
    .hosts {
      height: 344px;
    }
  }
  .rack.rack-5-10 {
    .hosts {
      height: 430px;
    }
  }
  .legend-column {
    min-width: 150px;
    margin-right: 10px;
  }
  .heatmap-content {
    float: right;
    width: 78%;
  }
  .heatmap_host_details {
    font-size: 12px;
    line-height: 1.6em;
    border: 1px solid #D9D9D9;
    background: #f9f9f9;
    width: 280px;
    padding: 10px 10px;
    position: absolute;
    z-index: 1000;
  }
  .container-fluid {
    padding: 0px;
  }
  .row-fluid [class*="span"] {
    margin-left: 0px;
  }
  .legend {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 12px;
    .tile {
      width: 30px;
      height: 1em;
      padding: 4px;
      border: 1px solid #D4D4D4;
      border-radius: 5px;
      margin-right: 10px;
    }
  }

  h4 {
    color: #777777;
    margin-top: 5px;
  }
  .heatmap-host {
    display: block;
    width: 100%;
    height: 100%;
  }

  .dropdown-submenu {
    a {
      cursor: default;
    }
    .dropdown-menu {
      a {
        cursor: pointer;
      }
    }
  }
}

/*End Heatmap*/

/*Start Mirroring*/

.mirroring-top-nav {
  margin-bottom: 20px;
}

.switcher {
  background-color: #e5e5e5;
  -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
  -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
  margin-bottom: 20px;
  border-radius: 4px;
  border-color: #D8D8D8;
}

.schedule-toggle {
  min-width: 190px;
}

#mirroring {

  .table {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px\9;

    thead {
      background: none repeat scroll 0 0 #F8F8F8;
    }

    .filter-row {
      .start-time a.ui-icon-circle-close {
        margin-top: 7px;
      }
    }

    th, td {
      width: 82px;
    }
    th.first, td.first {
      width: 10px !important;
    }
    td.first label {
      padding-top: 3px;
    }
    td.first span {
      display: block;
      float: right;
      height: 13px;
      margin: 5px 0 0 0;
      width: 13px;
    }
    ul.filter-components {
      padding: 5px 0;
      li {
        display: block;
        padding: 3px 0 3px 5px;
        line-height: 20px;

        label.checkbox {
          padding-left: 3px;
        }

        input[type="checkbox"] {
          margin: 4px 4px 2px 2px;
        }
      }
      &>li {
        &>ul {
          height: 250px;
          margin-left: 0;
          overflow-y: scroll;
        }
      }
    }

    div.view-wrapper {
      .btn-group {
        margin-bottom: 9px;
      }
    }
  }
  .status-dot-position {
    background-position: center;
    background-repeat: no-repeat;
    height: 20px;
    width: 13px;
    display: inline;
    float: none;
  }
  .health-status-LIVE {
    .status-dot-position;
    color: @health-status-green;
  }
  .health-status-DEAD-RED {
    .status-dot-position;
    color: @health-status-red;
  }
  .dataset-selected {
    background-color: #E6F1F6;
  }

  .dataset-item {
    cursor: pointer;
  }

  .jobs-container {
    margin-top: 50px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 10px
  }
  .dataset-details {
    position: relative;
    height: 100px;
    .top-right {
      position: absolute;
      top: 0;
      right: 10px;
    }
    .top-left {
      position: absolute;
      top: 0;
      left: 10px;
    }
    .bottom-right {
      position: absolute;
      bottom: 5px;
      right: 10px;
    }
    .bottom-left {
      position: absolute;
      bottom: 5px;
      left: 10px;
    }
    .dataset-status {
      padding: 8px;
      font-size: 16px;
      margin-right: 5px;
    }
    td {
      padding: 0 15px 0 0;
    }
  }
  .dataset-instances {
    .icon-play {
      color: green;
    }
    .icon-ok {
      color: green;
    }
    .icon-time {
      color: orange;
    }
    .icon-exclamation-sign {
      color: red;
    }
    .icon-remove {
      color: red;
    }
    .icon-warning-sign {
      color: red;
    }
    .icon-cog {
      color: orange;
    }
    .icon-question-sign {
      color: orange;
    }
  }
  .dataset-thead {
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
    tr:last-child {
      th {
        border-radius: 0;
      }
    }
  }
  .scrollable-table {
    max-height: 370px;
    overflow-y: auto;
    border-bottom: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-radius: 0 0 4px 4px;
    .table {
      margin : 0;
    }
  }
}

.mirroring-manage-clusters {
  .cluster-select {
    width: 100%;
    height: 250px;
    margin-bottom: 0;
  }
  .control-label-manage-clusters {
    padding-top: 5px;
  }
  .control-group {
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 10px;
  }
  .input-fluid {
    width: 100%;
  }
  .category-title {
    margin: 15px 0;
  }
  .target-cluster-form {
    padding-left: 15px;
  }
}

.spinner-centered {
  position: absolute;
  top: 50%;
  left: 50%;
}

.content-loading {
  opacity: 0.5;
}

.create-target-cluster-popup {
  .modal {
    width: 650px;
  }
}

.form-category {
  border: 1px solid #eeeeee;
  border-radius: 4px;
  padding: 10px;
}

.dataset-delete {
  width: 15%;
}
.dataset-form {
  width: 85%;
}

.mirroring-sidebar {
  hr {
    margin: 0;
  }
  ul {
    margin: 0 0 20px 0;
    li {
      list-style: none;
      margin: 8px 0;
      a {
        cursor: pointer;
      }
    }
  }
}

.target-cluster-select {
  option:last-of-type {
    color: #0088cc
  }
}


.jobs-sidebar{
  width: 16%;
  height: 100%;
  float:left;
  margin: 0 20px 0 0;
  hr {
    margin: 0;
  }
  ul {
    margin: 0 0 20px 0;
    li {
      list-style: none;
      margin: 8px 0;
      a {
        cursor: pointer;
      }
    }
  }
}
.jobs-middleportion{
  width: 82%;
  height: 100%;
  float: right;
}

/*End Mirroring*/

.noDisplay {
  display: none !important;
}

.display {
  display: block !important;
}

.display-inline-block {
  display: inline-block !important;
}

/* CHARTS */
.chart {
  overflow: hidden;
/*padding-bottom: 25px;*/

  .attributes {
    width: 75px;
    float: left;
    margin: 45px 0 0 0;

    p {
      margin-bottom: 9px;
    }
  }

  .hostName {
    font-weight: bold;
  }

  .horizon {
    border-bottom: 1px solid #000000;
    overflow: hidden;
    position: relative;
  }
  .horizon {
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
  }
  .horizon + .horizon {
    border-top: medium none;
  }
  .horizon canvas {
    display: block;
  }
  .horizon .title, .horizon .value {
    bottom: 0;
    line-height: 30px;
    margin: 0 6px;
    position: absolute;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    white-space: nowrap;
  }
  .horizon .title {
    left: 0;
  }
  .horizon .value {
    right: 0;
  }

  .rule {
    display: none;
    width: 30px;
    height: 124px;
    padding-top: 27px;
    position: absolute;
    border-left: 1px dashed #a52a2a;

    .stateValue {
      margin: 15px 0 0 3px;
      line-height: 15px;
    }
  }

  .axis {
    font: 10px sans-serif;

    path {
      display: none;
    }

    line {
      shape-rendering: crispedges;
      stroke: #000000;
    }
  }

  .line {
    background: none repeat scroll 0 0 #000000;
  /* opacity: 0.2; */
    z-index: 2;
  }

  ul.dropdown-menu {
    li {
      text-align: left;
    }
  }
}

.linear {
  path {
    stroke: steelblue;
    stroke-width: 2;
    fill: none;
  }

  line {
    stroke: black;
  }

  text {
    font-family: Arial;
    font-size: 9pt;
  }
}

/* CHARTS END */

/* UNIVERSAL STYLES */
.align-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.left {
  float: left;
}

.no-borders {
  border: none !important;
}

ul.noStyle {
  list-style: none;
}

ul.inline li {
  display: inline;
}

.table.no-borders th, .table.no-borders td {
  border-top: none;
}

#config_history {
  .table {
    thead {
      background: none repeat scroll 0 0 #F8F8F8;
    }
    // service name column
    th:first-child,
    td:first-child {
      width: 15%;
      select.filter-input-width{
        width: 75%;
      }
    }
    // config group, create time columns
    th:first-child + th,
    td:first-child + td,
    th:first-child + th + th,
    td:first-child + td + td {
      width: 20%;
      word-wrap: break-word;
      select.filter-input-width{
        width: 75%;
      }
    }
   // author column
    th:first-child + th + th + th,
    td:first-child + td + td + td {
      width: 10%;
      input.filter-input-width {
        width: 55%;
      }
    }
    // notes column
    th:first-child + th + th + th + th,
    td:first-child + td + td + td + td {
      word-wrap: break-word;
      input.filter-input-width {
        width: 75%;
      }
    }
    td.notes .show-more-button {
      font-size: @default-font-size - 1;
    }
  }
  div.page-bar div.filtered-info {
    margin-left: 17px;
  }
  a {
    cursor: pointer;
  }
}

.one-story-bar {
  margin-bottom: 60px;
}
.two-stories-bar {
  margin-bottom: 100px;
}

#config_history_flow {
  margin-top: -5px;
  .version-slider {
    width: 100%;
    height: 58px;
    margin: 5px 0;
    .flow-element {
      height: 58px;
      width: 15.2%;
      max-width: 146px;
      .version-box {
        position: relative;
        height: 90%;
      }
      .version-box .box {
        cursor: pointer;
        width: 92%;
        height: 100%;
        background-color: #ffffff;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        border: 1px solid #d2d9dd;
        font-size: 11px;
        .top-label {
          min-width: 20px;
          padding: 0px 2px;
        }
        .author,
        .content {
          padding: 0px 2px;
          text-align: center;
          color: #555555;
          display: block;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .content {
          max-width: 97% !important;
        }
        .author {
          max-width: 75% !important;
        }
        .current-label {
          text-align: center;
          padding: 2px 5px;
        }
      }
      .version-box .version-popover {
        display: none;
        position: absolute;
        bottom: 50px;
        left: -45px;
        z-index: 1000;
        float: left;
        width: 300px;
        padding: 8px;
        list-style: none;
        background-color: #ffffff;
        border: 1px solid #c3c3c3;
        -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding;
        background-clip: padding-box;
        font-size: 13px;
        .content {
          padding: 1px 5px 15px 5px;
          text-align: left;
          .notes{
            overflow-wrap: break-word;
            word-wrap: break-word;
            white-space: pre-wrap;
          }
          .date{
            color: #808080;
            font-size: 11px;
            white-space: nowrap;
          }
        }
        .version-operations-buttons {
          text-align: center;
          .btn {
            font-size: 13px;
          }
        }
      }
      .version-box:hover{
        .box {
          background-color: #e6f1f6;
        }
      }
      .version-box .box.displayed {
        background-color: #e6f1f6;
        .content {
          color: #444444;
          font-weight: bold;
        }
      }
      .version-box .box.grayedOut {
        background-color: #f4f4f4;
        border: 1px solid #f4f4f4;
        .author,
        .content {
          color: #a6a6a6;
        }
        .current-label .label,
        .top-label .label {
          opacity: .5;
        }

      }

    }
    .first {
      width: 14%;
      margin-left: 0px;
      .arrow-box {
        display: none;
      }
      .version-box .box {
        width: 100%;
      }
    }

    .icon-chevron-box {
      margin-top: 10px;
      width: 4%;
      cursor: pointer;
      .icon-chevron-right,
      .icon-chevron-left{
        color: #d2d9dd;
      }
      .icon-chevron-left:hover,
      .icon-chevron-right:hover{
        color: #808080;
      }
    }
    .icon-chevron-box.disabled {
      margin-top: 10px;
      width: 4%;
      cursor: not-allowed;
      .icon-chevron-right,
      .icon-chevron-left{
        color: #d2d9dd;
      }
    }
  }
  .version-info-bar-wrapper {
    position: fixed;
    z-index: 2;
  }
  .version-info-bar {
    background-image: -moz-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@top-nav-bg-color-from), to(@top-nav-bg-color-to));
    background-image: -webkit-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
    background-image: -o-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
    background-image: linear-gradient(to bottom, @top-nav-bg-color-from, @top-nav-bg-color-to);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr= @top-nav-bg-color-from, endColorstr=@top-nav-bg-color-to); //for IE9-
    -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 5px 0;
    padding: 5px;
    width: 747px;

    .icon-remove-circle {
      color: #ffffff;
      margin-left: 10px;
      margin-top: 0px;
      display: inline-block;
      cursor: pointer;
    }
    .label-wrapper {
      line-height: 30px;
      margin-left: 10px;
      color: #d3d3d3;
      .label {
        font-size: 14px;
        padding: 5px;
      }
    }
    .dropdown-menu {
      min-width: 400px;
      margin-top: 4px;
      font-size: 13px;
      li {
        line-height: 30px;
        .icon-caret-right {
          font-size: 18px;
          margin-right: 20px;
        }
      }
      li:hover {
        background-color: #666666;
        background-image: linear-gradient(to bottom, #666666, #555555);
        color: #ffffff;
      }
      li.not-allowed {
        // the version which is displayed
        cursor: not-allowed;
        color: #808080;
        .icon-caret-right,
        .dropdown-menu {
          display: none;
        }
      }
      li.not-allowed:hover {
        background-color: #ffffff;
        background-image: none;
        color: #808080;
      }

      div.row-fluid, a {
        padding-left: 10px;
      }
    }
    .dropdown-submenu .dropdown-menu {
      min-width: 200px;
      max-width: 300px;
      line-height: 20px;
      font-size: 13px;
      margin: 0px;
      padding: 8px;
      color: #333333;
      cursor: default;
      .content {
        padding: 1px 5px 15px 5px;
        .group {
          text-align: right;
          margin-top: -20px;
        }
        .date{
          color: #808080;
          font-size: 11px;
          white-space: nowrap;
        }
        .notes{
          word-wrap: break-word;
          overflow-wrap: break-word;
          white-space: pre-wrap;
        }
      }
      .version-operations-buttons {
        text-align: center;
        .btn {
          font-size: 13px;
        }
      }
    }
  }
}

.pointer {
  cursor: pointer;
}

.lowercase {
  text-transform:lowercase;
}
.ellipsis:after {
  content: '...';
}

.full-width {
  width: 100%
}


.big-arrow-right {
  background-repeat: no-repeat;
  background-image: url();
}

.advanced-header-table {
  th.first, td.first {
    border-left-width: 1px;
  }
  table-layout: fixed;
  th {
    border-top: none;
  }
  th, td {
    border-left-width: 0;
  }
  .sorting_asc {
    background: url() no-repeat right 50%;
  }
  .sorting_desc {
    background: url() no-repeat right 50%;
  }
  .sorting {
    background: url() no-repeat right 50%;
  }
  a.ui-icon-circle-close {
    float: right;
    opacity: 0.2;
    padding: 1px;
    position: relative;
    margin-top: 6px;
    z-index: 10;
    &:hover {
      opacity: 0.7;
    }
  }
  .notActive {
    a.ui-icon-circle-close {
      visibility: hidden;
    }
  }
  .label-row {
    font-size: 0.9em;
    th {
      padding: 4px;
      padding-left: 10px;
    }
    .active-sort {
      color: #555555;
      text-decoration: none;
      background-color: #e5e5e5;
      border-radius: 0px;
    }
  }
  .filter-row {
    th {
      padding: 0px;
      padding-left: 8px;
    }
    input {
      font-size: 12px;
      height: 14px;
    }
    select {
      height: 27px;
      font-size: 12px;
    }
    .active-filter {
      color: #555555;
      text-decoration: none;
      background-color: #e5e5e5;
      -webkit-box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
      -moz-box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
      box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
    }
    .filter-btn {
      color: #999999;
      font-size: 12px;
      line-height: 14px;
      padding-left: 6px;
      text-align: left;
      width: 100px;
      .icon-filter {
        color: #999999;
      }
    }
  }
}

/* UNIVERSAL STYLES END */

/* METRIC FILTERING WIDGET */
.metric-filtering-widget {

  .title {
    padding-top: 4px;
  }

  .accordion {
    background: none repeat scroll 0 0 #FFFFFF;
  /*border: 1px solid;*/
    font-size: 12px;
  /*padding: 5px 0;*/
    position: absolute;
    z-index: 1000;

    .accordion-group {
      .accordion-heading {
        i {
          text-decoration: none;
        }
      }

      .accordion-body {
        .accordion-inner {
        /*border: none;
        padding: 0 8px;
        width: 160px;*/

          ul.items {
            list-style: none;
            li {
              a:hover {
                cursor: pointer;
              }
            }
            li.disabled {
              a {
                color: #999999;
              }
            }

          }
        }
      }
    }
  }
}

/* METRIC FILTERING WIDGET END */

/* TIME RANGE WIDGET */

/* start css for timepicker */
.ui-timepicker-div .ui-widget-header {
  margin-bottom: 8px;
}

.ui-timepicker-div dl {
  text-align: left;
}

.ui-timepicker-div dl dt {
  height: 25px;
  margin-bottom: -25px;
}

.ui-timepicker-div dl dd {
  margin: 0 10px 10px 65px;
}

.ui-timepicker-div td {
  font-size: 90%;
}

.ui-tpicker-grid-label {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
}

.ui-timepicker-rtl {
  direction: rtl;
}

.ui-timepicker-rtl dl {
  text-align: right;
}

.ui-timepicker-rtl dl dd {
  margin: 0 65px 10px 10px;
}

/* end css for timepicker */

#slider {
  margin: 10px 0 40px;
  width: 330px;

  .now-marker {
    position: absolute;
    right: -15px;
    bottom: -23px;
  }
  .period-marker {
    position: absolute;
    left: -15px;
    bottom: -23px;
  }
}

.screensaver {
  width: 90%;
  height: 157px;
  border: 1px solid silver;
  margin: 20px 15px 10px 15px;
  background: url(/img/spinner.gif) no-repeat center center;
}

/* TIME RANGE WIDGET END */

#host-details .host-components .btn-group > .btn {
  width: 140px;
}

/* fieldset begin */
.fieldset {
  border: 2px solid black;
  padding: 10px;
}

.fieldset legend {
  border-bottom: none;
  width: auto;
  font-size: 14px;
}

/* fieldset end */

/* Start Carousel */
.carousel-inner {
  height: 80px;
}

/* End Carousel*/

#add-host .back {
  display: block;
  width: 105px;
  margin-bottom: 10px;
}

#add-service .back {
  display: block;
  width: 130px;
  margin-bottom: 10px;
}

#step8-content {
  ul {
    li {
      list-style: none;
    }
  }
  max-height: 440px;
}

.log_popup {
  .bar {
    -webkit-transition: width 0.0s ease;
    -moz-transition: width 0.0s ease;
    -ms-transition: width 0.0s ease;
    -o-transition: width 0.0s ease;
    transition: width 0.0s ease;
  }
}

#step10-alert-message {
  .icon-refresh {
    color: @restart-indicator-color;
  }
}

#step10-content {
  ul {
    li {
      list-style: none;
    }
  }
  max-height: 440px;
}

.content-area {
  position: relative;
  .textTrigger {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    visibility: hidden;
    background-color: #dcdcdc;
  }
}

//bootstrap
//.dropdown-menu .active > a, .dropdown-menu .active > a:hover {
//  background-color: #49AFCD;
//  background-image: -moz-linear-gradient(center top, #5BC0DE, #2F96B4);
//}
//bootstrap end

// COMBOBOX FIXES
.combobox-container .btn:hover {
  background-position: 0;
}

// COMBOBOX FIXES END
@media all and (max-width: 1200px) {
  #main-nav {
    li.span2 {
      width: 120px;
    }
  }
  #hosts {
    .table {
      .col2,
      td:first-child + td + td,
      th:first-child + th + th {
        width: 25%!important;

        .filter-input-width{
          width:80%;
        }
      }

      .col6,
      td:first-child + td + td + td + td + td + td,
      th:first-child + th + th + th + th + th + th{
        width: 12%!important;
      }

      .col7,
      td:first-child + td + td + td + td + td + td + td,
      th:first-child + th + th + th + th + th + th + th{
        width: 10%!important;
      }

      .col8,
      td:first-child + td + td + td + td + td + td + td + td,
      th:first-child + th + th + th + th + th + th + th + th{
        width: 11%!important;
      }
      .col9,
      td:first-child + td + td + td + td + td + td + td + td + td,
      th:first-child + th + th + th + th + th + th + th + th + th{
        width: 10%!important;
      }
      td.name .trim_hostname{
        width: 90%!important;
      }
    }
  }
  // when the scree is narrow, the popup modal width is adjustable
  .full-width-modal {
    .modal{
      width: 90%;
      margin: 350px 0 0 -45%;
    }
  }
  .service-menu-width {
    width: 163px!important;
  }
  .summary-width {
    width:757px!important
  }


  .assign-masters {
    .host-assignments {
      margin-left: 0;
      width: 32%;
    }
    .select-hosts {
      width: 68%;
    }
  }
  .wizard-content {
    #serviceConfig {
      .alert {
        padding-right: 10px!important;
      }
    }
    .filter-combobox {
      > input {
        width: 115px!important;
      }
    }
  }
}

//
// Gray palette
//
.nav-pills > .active > a, .nav-pills > .active > a:hover {
  background-color: #666666;
}

.nav-list > .active > a, .nav-list > .active > a:hover {
  background-color: #666666;
}

li.break {
  background: none repeat scroll 0 0 #e4e4e4;
  padding-top: 1px;
}
.dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a {
  background-color: #666666;
  background-image: linear-gradient(to bottom, #666666, #555555);
}

.alert-info {
  background-color: #E6F1F6;
  border-color: #D2D9DD;
  color: #4E575B;
  text-shadow: none;
  .link {
    padding: 0 15px;
  }
  .link-left-pad {
    padding-left:15px;
  }
}

#reload_popup {
  .spinner {
    padding: 8px 35px 0px 42px;
    width: auto;
    background: url(/img/spinner.gif) no-repeat;
  }
}

/*
.progress-striped .bar {
  background-color: #A5A5A5;
}

.progress-info.progress-striped .bar, .progress-striped .bar-info {
  background-color: #A5A5A5;
}
*/

.btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
  background-color: #555555;
}

.modal-body {
  max-height: none;
  .api-error {
    max-height: 403px;
    word-wrap:break-word;
    overflow: auto;
  }
}

i.icon-asterisks {
  color: #00688B;
}

.rickshaw_legend {
  .action {
    opacity: 1;
    color: #ffffff;
  }
  .action:hover {
    opacity: 0.8;
    text-decoration: none;
  }
}

.hidden {
  display: none;
  visibility: hidden;
}

.code-snippet {
  background-color: #EEEEEE;
  border: 1px dashed #CCCCCC;
  font-family: Courier;
  font-size: 12px;
  padding: 4px;
  white-space: nowrap;
}

//styles for screen width more than 1200px
@media (min-width: 1200px) {

  //when screen is wide, the modal width is fixed
  .full-width-modal {
    .modal{
      width: 1155px;
      margin: -350px 0 0 -583px;
    }
  }

  .row {
    margin-left: -30px;
    *zoom: 1;
  }

  .row:before,
  .row:after {
    display: table;
    line-height: 0;
    content: "";
  }

  .row:after {
    clear: both;
  }

  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 30px;
  }

  .container,
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
    width: 1130px;
  }

  .main-container {
    width: 1170px;
  }

  .span12 {
    width: 1170px;
  }

  .span11 {
    width: 1070px;
  }

  .span10 {
    width: 970px;
  }

  .span9 {
    width: 870px;
  }

  .span8 {
    width: 770px;
  }

  .span7 {
    width: 670px;
  }

  .span6 {
    width: 570px;
  }

  .span5 {
    width: 470px;
  }

  .span4 {
    width: 370px;
  }

  .span3 {
    width: 270px;
  }

  .span2 {
    width: 170px;
  }

  .span1 {
    width: 70px;
  }

  .offset12 {
    margin-left: 1230px;
  }

  .offset11 {
    margin-left: 1130px;
  }

  .offset10 {
    margin-left: 1030px;
  }

  .offset9 {
    margin-left: 930px;
  }

  .offset8 {
    margin-left: 830px;
  }

  .offset7 {
    margin-left: 730px;
  }

  .offset6 {
    margin-left: 630px;
  }

  .offset5 {
    margin-left: 530px;
  }

  .offset4 {
    margin-left: 430px;
  }

  .offset3 {
    margin-left: 330px;
  }

  .offset2 {
    margin-left: 230px;
  }

  .offset1 {
    margin-left: 130px;
  }

  .row-fluid {
    width: 100%;
    *zoom: 1;
  }

  .row-fluid:before,
  .row-fluid:after {
    display: table;
    line-height: 0;
    content: "";
  }

  .row-fluid:after {
    clear: both;
  }

  .row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 30px;
    margin-left: 2.564102564102564%;
    *margin-left: 2.5109110747408616%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .row-fluid [class*="span"]:first-child {
    margin-left: 0;
  }

  .row-fluid .top-portion{
    width : 100%;
    height : 50px;
  }
  .row-fluid .span12 {
    width: 100%;
    *width: 99.94680851063829%;
  }

  .row-fluid .span11 {
    width: 91.45299145299145%;
    *width: 91.39979996362975%;
  }

  .row-fluid .span10 {
    width: 82.90598290598291%;
    *width: 82.8527914166212%;
  }

  .row-fluid .span9 {
    width: 74.35897435897436%;
    *width: 74.30578286961266%;
  }

  .row-fluid .span8 {
    width: 65.81196581196582%;
    *width: 65.75877432260411%;
  }

  .row-fluid .span7 {
    width: 57.26495726495726%;
    *width: 57.21176577559556%;
  }

  .row-fluid .span6 {
    width: 48.717948717948715%;
    *width: 48.664757228587014%;
  }

  .row-fluid .span5 {
    width: 40.17094017094017%;
    *width: 40.11774868157847%;
  }

  .row-fluid .span4 {
    width: 31.623931623931625%;
    *width: 31.570740134569924%;
  }

  .row-fluid .span3 {
    width: 23.076923076923077%;
    *width: 23.023731587561375%;
  }

  .row-fluid .span2 {
    width: 14.52991452991453%;
    *width: 14.476723040552828%;
  }

  .row-fluid .span1 {
    width: 5.982905982905983%;
    *width: 5.929714493544281%;
  }

  .row-fluid .offset12 {
    margin-left: 105.12820512820512%;
    *margin-left: 105.02182214948171%;
  }

  .row-fluid .offset12:first-child {
    margin-left: 102.56410256410257%;
    *margin-left: 102.45771958537915%;
  }

  .row-fluid .offset11 {
    margin-left: 96.58119658119658%;
    *margin-left: 96.47481360247316%;
  }

  .row-fluid .offset11:first-child {
    margin-left: 94.01709401709402%;
    *margin-left: 93.91071103837061%;
  }

  .row-fluid .offset10 {
    margin-left: 88.03418803418803%;
    *margin-left: 87.92780505546462%;
  }

  .row-fluid .offset10:first-child {
    margin-left: 85.47008547008548%;
    *margin-left: 85.36370249136206%;
  }

  .row-fluid .offset9 {
    margin-left: 79.48717948717949%;
    *margin-left: 79.38079650845607%;
  }

  .row-fluid .offset9:first-child {
    margin-left: 76.92307692307693%;
    *margin-left: 76.81669394435352%;
  }

  .row-fluid .offset8 {
    margin-left: 70.94017094017094%;
    *margin-left: 70.83378796144753%;
  }

  .row-fluid .offset8:first-child {
    margin-left: 68.37606837606839%;
    *margin-left: 68.26968539734497%;
  }

  .row-fluid .offset7 {
    margin-left: 62.393162393162385%;
    *margin-left: 62.28677941443899%;
  }

  .row-fluid .offset7:first-child {
    margin-left: 59.82905982905982%;
    *margin-left: 59.72267685033642%;
  }

  .row-fluid .offset6 {
    margin-left: 53.84615384615384%;
    *margin-left: 53.739770867430444%;
  }

  .row-fluid .offset6:first-child {
    margin-left: 51.28205128205128%;
    *margin-left: 51.175668303327875%;
  }

  .row-fluid .offset5 {
    margin-left: 45.299145299145295%;
    *margin-left: 45.1927623204219%;
  }

  .row-fluid .offset5:first-child {
    margin-left: 42.73504273504273%;
    *margin-left: 42.62865975631933%;
  }

  .row-fluid .offset4 {
    margin-left: 36.75213675213675%;
    *margin-left: 36.645753773413354%;
  }

  .row-fluid .offset4:first-child {
    margin-left: 34.18803418803419%;
    *margin-left: 34.081651209310785%;
  }

  .row-fluid .offset3 {
    margin-left: 28.205128205128204%;
    *margin-left: 28.0987452264048%;
  }

  .row-fluid .offset3:first-child {
    margin-left: 25.641025641025642%;
    *margin-left: 25.53464266230224%;
  }

  .row-fluid .offset2 {
    margin-left: 19.65811965811966%;
    *margin-left: 19.551736679396257%;
  }

  .row-fluid .offset2:first-child {
    margin-left: 17.094017094017094%;
    *margin-left: 16.98763411529369%;
  }

  .row-fluid .offset1 {
    margin-left: 11.11111111111111%;
    *margin-left: 11.004728132387708%;
  }

  .row-fluid .offset1:first-child {
    margin-left: 8.547008547008547%;
    *margin-left: 8.440625568285142%;
  }

  input,
  textarea,
  .uneditable-input {
    margin-left: 0;
  }

  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 30px;
  }

  input.span12,
  textarea.span12,
  .uneditable-input.span12 {
    width: 1156px;
  }

  input.span11,
  textarea.span11,
  .uneditable-input.span11 {
    width: 1056px;
  }

  input.span10,
  textarea.span10,
  .uneditable-input.span10 {
    width: 956px;
  }

  input.span9,
  textarea.span9,
  .uneditable-input.span9 {
    width: 856px;
  }

  input.span8,
  textarea.span8,
  .uneditable-input.span8 {
    width: 756px;
  }

  input.span7,
  textarea.span7,
  .uneditable-input.span7 {
    width: 656px;
  }

  input.span6,
  textarea.span6,
  .uneditable-input.span6 {
    width: 556px;
  }

  input.span5,
  textarea.span5,
  .uneditable-input.span5 {
    width: 456px;
  }

  input.span4,
  textarea.span4,
  .uneditable-input.span4 {
    width: 356px;
  }

  input.span3,
  textarea.span3,
  .uneditable-input.span3 {
    width: 256px;
  }

  input.span2,
  textarea.span2,
  .uneditable-input.span2 {
    width: 156px;
  }

  input.span1,
  textarea.span1,
  .uneditable-input.span1 {
    width: 56px;
  }

  .thumbnails {
    margin-left: -30px;
  }

  .thumbnails > li {
    margin-left: 30px;
  }

  .row-fluid .thumbnails {
    margin-left: 0;
  }


#dashboard-widgets-container{

  #dashboard-widgets{
    .row-fluid .span2p4 {
      width: 19.47%;
      *width: 19.47%;
    }
    .row-fluid .span4p8 {
      width: 39.45%;
      *width: 39.45%;
    }
    .thumbnails  > div {
      margin-right: 5px;
    }
    .thumbnail .caption {
      font-size: 14px;
    }
    .thumbnail .hidden-info-two-line {
      font-size: 14px;
    }
    .thumbnail .hidden-info-three-line{
      font-size: 14px;
    }
    .thumbnail .hidden-info-five-line{
      font-size: 12px;
    }
    .thumbnail .hidden-info-six-line{
      font-size: 12px;
    }
    .links .thumbnail .widget-content{
        font-weight: bold;
        font-size: 12px;
    }
    .links .thumbnail .link-button{
      padding-left: 100px;
    }
    #map-reduce-slots-text{
      font-size: 12px;
      #map-reduce-slots-bar1{
        margin-left: 11px;
      }
    }
  }
}
  #config_history_flow {
    .version-slider {
      .flow-element {
        .version-box .box {
          font-size: 13px;
        }
        .arrow-box {
          margin-left: 5px;
        }
      }
    }
    .version-info-bar {
      width: 960px;
    }
  }
  .summary-metric-graphs {
    [class*="span"] {
      float: left;
      margin-left: 10px;
    }
    .chart-container {
      .chart-x-axis {
        left: 0%;
        width: 100%;
      }
    }
  }
}

.filter-combobox{
  > input{
    width: 170px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
  }

  > .btn-group{
    display: inline-block;
    margin-left: -1px;

    > .dropdown-toggle{
      border-top-left-radius: 0;
      border-bottom-left-radius: 0
    }

    .dropdown-menu{
      left: auto;
      right:0;
    }
  }
}

#advancedRepoAccordion{
  .accordion-heading {
    background-color: #f0f0f0;
    a:hover {
      text-decoration: none;
    }
  }
  .accordion-body {
    .repositories-table {
      overflow: auto;
      margin-bottom: 10px;
      div {
        float: left;
        min-height: 1px;
      }
      .thead {
        width: 100%;
        .th {
          font-weight: bold;
        }
        .first-th {
          width: 4%;
        }
        .os-th {
          width: 13%;
        }
        .name-th {
          width: 17%;
        }
        .url-th {
          width: 66%;
        }
      }
      .tbody {
        width: 100%;
        .trow {
          width: 100%;
          border-top: 1px solid #dddddd;
          padding-top: 10px;
          .os-td {
            width: 17%;
          }
          .sub-trow {
            width: 100%;
            .name-td {
              width: 16%;
            }
            .validation-td {
              width: 4%;
            }
            .url-td {
              width: 63%;
              .ember-text-field {
                width: 100%;
              }
            }
            .clear-td {
              width: 4%;
              padding-top: 5px;
              padding-left: 12px;
              a {
                cursor: pointer;
                text-decoration: none;
              }
              .icon-remove-sign {
                color: #808080;
              }
            }
            .actions-td {
              width: 10%;
              padding-top: 5px;
              a {
                cursor: pointer;
              }
              .icon-undo {
                color: rgb(243, 178, 11);
                margin-right: 2px;
              }
            }
          }
        }
      }
      .textfield-error input {
        border-color: #b94a48;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
      }
      .disabled-textfield input {
        color: #808080;
        disabled: disabled;
        pointer-events: none;
        cursor: default;
        background: #E4E4E4;
      }
      .disabled-label {
        color: #808080;
      }
    }
    #skip-validation {
      .checkbox {
        margin-left: 3px;
        margin-right: 8px;
        margin-top: 0px;
      }
      .icon-question-sign {
        color: @blue;
      }
    }
  }
}

.admin-cluster {
  .repositories-table {
    margin-bottom: 10px;
    border: 1px solid #dddddd;
    overflow: auto;
    div {
      float: left;
      min-height: 1px;
    }
    .thead {
      width: 100%;
      .th {
        font-weight: bold;
        padding: 8px;
      }
      .os-th {
        width: 10%;
      }
      .name-th {
        width: 16%;
      }
      .url-th {
        width: 66%;
      }
    }
    .tbody {
      width: 100%;
      .trow {
        width: 100%;
        border-top: 1px solid #dddddd;
        padding-top: 8px;
        .os-td {
          padding-top: 4px;
          padding-left: 8px;
          width: 9%;
        }
        .sub-trow {
          width: 100%;
          min-height: 39px;
          .name-td {
            width: 16%;
            padding-top: 4px;
          }
          .url-td {
            width: 60%;
            .ember-text-field {
              width: 100%;
              margin: -1px -1px -1px -2px;
            }
          }
          .url-text-td {
            width: 70%;
            padding-top: 4px;
            padding-left: 3px;
            overflow: auto;
          }
          .edit-td {
            width: 8%;
            padding-top: 4px;
            padding-left: 5px;
            a {
              cursor: pointer;
            }
          }
          .edit-buttons-td {
            // save or cancel
            width: 9%;
          }
          .clear-td {
            width: 3%;
            padding-top: 5px;
            padding-left: 12px;
            a {
              cursor: pointer;
              text-decoration: none;
            }
            .icon-remove-sign {
              color: #808080;
            }
          }
        }
      }
    }
    .textfield-error input {
      border-color: #b94a48;
      -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
      -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    }
    .disabled-textfield input {
      color: #808080;
      disabled: disabled;
      pointer-events: none;
      cursor: default;
      background: #E4E4E4;
    }
    .disabled-label {
      color: #808080;
    }
  }
  #skip-validation {
    margin-top: 10px;
    .checkbox {
     margin-left: 3px;
     margin-right: 8px;
     margin-top: 0px;
    }
    .icon-question-sign {
     color: @blue;
    }
  }
}

#config-group-select-create-dialog {
  .select-create-config-group-div {
    margin-left: 20px;
    margin-bottom: 20px;
  }
  .message{
    color: #777;
  }
}

#config-group-confirm-save {
  .message{
    color: #777;
    padding-left: 10px;
  }
}

.manage-configuration-group-popup {
  .modal{
    max-height: 600px;
  }
  .modal-body {
    max-height: 450px;
  }
  .group-select {
    width: 100%;
    height: 250px;
  }
  .btn-toolbar {
    margin-top: 0px;
  }
  .manage-configuration-group-content {
    margin-bottom: 0px;
    .group-description {
      height:40px;
      overflow-y: auto;
      white-space: pre;
    }
  }
}

.new-config-group-div {
  td {
    vertical-align: top;
  }
  .textarea-full-width {
    padding-right: 10px;
    textarea {
      width: 100%;
      margin: 0;
    }
  }
}

.prrl {
  position: relative;
  right: @space-m;
}

.pts {
  padding-top: @space-s;
}

.mlc {
  margin-left: 0;
}

.mtm {
  margin-top: @space-m;
}

.mbm { margin-bottom: @space-m; }

.mll {
  margin-left: @space-l;
}

#cleanerContainer {
  z-index: 2;
  position: absolute;
  left: -20px;
  width: 16px;
  margin-top: 7px;
  #filterCleaner {
    opacity: .5;

  }
  #filterCleaner:hover {
    opacity: .9;
  }
}
.margin-bottom-5 {
  margin-bottom: 5px;
}

.rolling-restart-view {
  table {
    td:first-of-type {
      width: 30%;
      text-align: right;
    }
    td:nth-of-type(2) {
      input {
        margin-left: 7px;
        margin-right: 5px;
      }
    }
    td:last-of-type {
      width: 60%;
      text-align: left;
    }
    tr:last-of-type {
      td {
        input {
          vertical-align: top;
        }
      }
    }
  }
}

.host-select[disabled] {
  background-color: #848484;
  color: #FFF;
}

#hive-job-details {
  #toggle-query {
    margin-left: 20px;
  }
  .query-info{
    display: none;
    margin-top: 10px;
  }
  #job-more-details-table {
    td {
      vertical-align: top;
    }
    td:first-child {
      font-weight: bold;
      padding-right: 7px;
    }
    a {
      cursor: pointer;
    }
  }
  .sections {
    margin-top: 10px;
  }
  #tez-vertices-table-section {
    display: block;
  }
  #tez-vertices-table-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 7px;
    border-bottom: 1px solid #dddddd;
    border-top: 1px solid #dddddd;
    border-radius: 4px;
    table {
      margin-bottom: 0px;
      .sorting_asc {
        background: url() no-repeat right 50%;
      }
      .sorting_desc {
        background: url() no-repeat right 50%;
      }
      .sorting {
        background: url() no-repeat right 50%;
      }
    }
  }
  #tez-vertex-details-section-body {
    td {
      border-top: none;
    }
    tr td:first-child {
      font-weight: bold;
      width: 20%;
      overflow: auto;
    }
    textarea {
      width: 95%;
      margin-left: 10px;
    }
  }
}


.prompt-popup {
  form {
    margin-top: 20px;
  }
  .prompt-input {
    width: 520px;
  }
}

/***************
 * Tez DAG section
 ***************/
#tez-dag-section {
  padding-left: 7px;
  padding-top: 5px;
  overflow: hidden;
  #tez-dag-section-top-bar-actions {
    margin-right: 7px;
  }
}
#tez-dag-section-body {
  display: block;
}
#tez-dag-section-body-dag {
  overflow-y: hidden;

  .heat-0-20 {
    fill: #ffffff;
  }
  .heat-20-40 {
    fill: #aaaaaa;
  }
  .heat-40-60 {
    fill: #ffff00;
  }
  .heat-60-80 {
    fill: #FFC000;
  }
  .heat-80-100 {
    fill: #ff0000;
  }
  .heat-none {
    fill: #999999;
  }
  #tez-dag-svg {
    .link line {
      stroke: #696969;
    }
    .link line.separator {
      stroke: #fff;
      stroke-width: 2px;
    }
    text {
      font-weight: lighter;
    }
    .tez-root-rect {
      fill: white;
      stroke: white;
      opacity: 0;
      stroke-opacity: 0;
    }
    .debug {
      fill: green;
      opacity: 0.2;
    }
    .node {
      .background.map {
        fill: #fde0dd;
        stroke: #bbbbbb;
      }
      .background.reduce {
        fill: #DBD4EB;
        stroke: #bbbbbb;
      }
      .background.union {
        fill: #BCE6DD;
        stroke: #bbbbbb;
      }
      .background.unknown-vertex-type {
        fill: #EBE8CC;
        stroke: #bbbbbb;
      }
      .background.selected {
        stroke: #3a87ad;
      }
      .background {
        stroke-width: 6px;
        fill: #c0c0c0;
        stroke: #999999;
        cursor: pointer;
      }
      .metric {
        rect {
          opacity: 0.6;
        }
        text {
          font-size: 90%;
        }
      }
      .operation {
        fill: #3F66E8;
        opacity: 0.5;
        cursor: pointer;
        text {
          font-size: 80%;
        }
      }
      .vertex-icon-text {
        stroke-width: 0;
        opacity: 0.9;
      }
      .vertex-icon-rect {
        opacity: 0;
      }
      .vertex-icon-text.running,
      .vertex-icon-text.initializing,
      .vertex-icon-text.succeeded,
      .vertex-icon-text.inited {
        fill: green;
        stroke: green;
      }
      .vertex-icon-text.new {
        fill: #fde0dd;
        stroke: cornflowerblue;
        stroke-width: 1;
      }
      .vertex-icon-text.failed,
      .vertex-icon-text.killed,
      .vertex-icon-text.error,
      .vertex-icon-text.terminating {
        fill: red;
        stroke: red;
      }
    }
    .node text {
      pointer-events: none;
    }
    path.link {
      fill: none;
      stroke: #666;
      stroke-width: 5px;
      opacity: 0.6;
    }
    path.link.type-broadcast {
      stroke: teal;
    }
    path.link.type-scatter_gather {
      stroke: orange;
      stroke-dasharray: 10,3;
    }
    path.link.type-contains {
      stroke: green;
      stroke-dasharray: 10,2,5,2;
    }
    path.link.type-unknown {
      stroke: gray;
    }
  }
}

#views {
  table.views-table {
    tr {
      cursor: pointer;
    }
    td.icon {
      width: 6%;
      padding: 13px 5px 5px 20px;
      .view-icon-image {
        img {
          height: 32px;
        }
      }
    }
    td.label-version-description {
      padding-top: 10px;
      .view-label-text {
        display: inline;
        font-size: 16px;
        font-weight: bold;
      }
      .view-version-text,
      .view-description-text {
        font-size: 14px;
        display: inline;
        color: #808080;
      }
    }
  }
  .no-views-text {
    padding-left: 20px;
  }
}
.views_sizes {
  width:100%;
  min-height:100%;
  border: 0;
}

.not-allowed-cursor {
  cursor: not-allowed !important;
}

#flume-summary {
  text-align:left !important;
  max-height: 490px;
  #flume-agents-table {
    margin: 0;
    width: 100%;
    .highlight {
      td, th {
        background-color: #BDC3C7 !important;
        color: #666;
      }
    }
    th:first-child {
      width: 40%;
    }
    th:first-child + th {
      width: 40%;
    }
    th:first-child + th + th {
      width: 16px;
    }
    th:first-child + th + th + th {
      width: 16px;
    }
    th:first-child + th + th + th + th {
      width: 16px;
    }
    td.agent-status {
      width: 125px;
    }
    td.agent-name {
      width: 20%;
      overflow: hidden;
    }
    td.agent-host-name {
      width: 20%;
      overflow: hidden;
      max-width: 90px;
    }
    .icon-ok-sign {
      color: @health-status-green;
    }
    .icon-question-sign {
      color: @health-status-yellow;
    }
    .icon-warning-sign {
      color: #FDB82F;
    }
    .sorting_asc {
      background:
        url() no-repeat right 50%;
    }
    .sorting_desc {
      background: url() no-repeat right 50%;
    }
    .sorting {
      background: url(	) no-repeat right 50%;
    }
    #flume-host-agent-row {
      cursor: pointer;
      text-align: left;
      background-color: #ffffff;
    }
    .empty-label {
      border-top: 1px solid #dddddd;
      text-align: center
    }
  }
  .wrapp-flume-status{
    text-align: left;
  }
  .btn-wrapper {
    margin: 0 5px 5px 0;
    float: right;
    width:60px;
  }
  .flume-agents-actions {
    position: absolute;
    a {
      text-decoration: none;
    }
    a.dropdown-toggle {
      padding: 2px 6px;
      font-size: 11px;
      line-height: 17px;
    }
  }
  .scrollable-container {
    max-height: 450px;
    width: 100%;
    overflow-y: scroll;
  }
}

.add-property-window {
  .control-label {
    text-align: left;
  }
  .controls {
    margin-left: 140px;
  }
}

#rm-ha-wizard {
  .rm-host-select {
    width: 95%;
  }
}

.table td.no-borders { border-top: none; }
.table td.error { background-color: #f2dede; }
.table td.warning { background-color: #fcf8e3; }

#config-validation-warnings {
  table {
    tbody{
      tr {
        background:#fcf8e3;
        border:1px solid #c09853;
        border-right:none;
        td {
          min-width: 150px;
        }
      }
    }
  }
}
